1.0.0 • Published 9 years ago
good-logzio v1.0.0
good-logzio
Logz.io shipping for Good process monitor
Usage
good-logzio is a write stream used to send events to the Logz.io API. Under the hood, it uses logzio-nodejs.
Available configuration options
token- your logz.io tokenconfig- configuration object passed tologzio-nodejs(optional)type- Log type. Help classify logs. Defaults to 'hapi-logzio'.- all of the available
logzio-nodejsoptions
levelMap- an object mapping event types to log levels (optional). Adds thelevelproperty to logs.
Sample configuration
"myLogzioReporter": [
{
"module": "good-squeeze",
"name": "Squeeze",
"args": [{
"log": "*",
"request": "*",
"response": "*",
"error": "*",
"server": "*"
}]
}, {
"module": "good-logzio",
"args": [
"MYS3Cr3tT0K3N",
{
"type": "my-app"
},
{
"error": "error",
"request": "debug",
"log": "debug",
"response": "info",
"default": "info"
}
]
}
]1.0.0
9 years ago