52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
|
{
|
||
|
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
||
|
"papertrail_log": {
|
||
|
"title": "Papertrail Service",
|
||
|
"url": "https://papertrailapp.com/",
|
||
|
"description": "Log format for the papertrail log management service",
|
||
|
"json": true,
|
||
|
"hide-extra": true,
|
||
|
"file-pattern": "pt:.*",
|
||
|
"line-format": [
|
||
|
{
|
||
|
"field": "display_received_at"
|
||
|
},
|
||
|
" ",
|
||
|
{
|
||
|
"field": "hostname"
|
||
|
},
|
||
|
" ",
|
||
|
{
|
||
|
"field": "program"
|
||
|
},
|
||
|
": ",
|
||
|
{
|
||
|
"field": "message"
|
||
|
}
|
||
|
],
|
||
|
"level-field": "severity",
|
||
|
"level": {
|
||
|
"error": "Error",
|
||
|
"debug": "Debug",
|
||
|
"warning": "Warning",
|
||
|
"info": "Info(?:rmational)?|Notice",
|
||
|
"critical": "Crit(?:ical)?",
|
||
|
"fatal": "Emerg(?:ency)?|Alert"
|
||
|
},
|
||
|
"timestamp-field": "generated_at",
|
||
|
"body-field": "message",
|
||
|
"value": {
|
||
|
"display_received_at": {
|
||
|
"kind": "string"
|
||
|
},
|
||
|
"program": {
|
||
|
"kind": "string",
|
||
|
"identifier": true
|
||
|
},
|
||
|
"hostname": {
|
||
|
"kind": "string",
|
||
|
"identifier": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|