fix(core): update

This commit is contained in:
Philipp Kunz 2018-11-03 14:17:29 +01:00
parent 65312ebd49
commit d95d2705b0
2 changed files with 1 additions and 20 deletions

View File

@ -55,7 +55,7 @@ export class LogdnaAccount {
]
};
console.log(requestBodyObject);
// console.log(requestBodyObject);
// lets post the message to logdna
await plugins.smartrequest.postJson(requestUrlWithParams, {

View File

@ -1,19 +0,0 @@
curl "https://logs.logdna.com/logs/ingest?hostname=EXAMPLE_HOST&mac=C0:FF:EE:C0:FF:EE&ip=10.0.1.101&now=$(date +%s)" \
-u INSERT_INGESTION_KEY: \
-H "Content-Type: application/json; charset=UTF-8" \
-d \
'{
"lines": [
{
"line":"This is an awesome log statement",
"app":"myapp",
"level": "INFO",
"env": "production",
"meta": {
"customfield": {
"nestedfield": "nestedvalue"
}
}
}
]
}'