You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lnav/test/formats/jsontest/lnav-logstash.json

56 lines
1.4 KiB
JSON

{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"logstash_dam": {
"title": "Logstash Java JSON",
"url": "https://github.com/logstash/logstash-logback-encoder",
"description": "Log format for DAM Logstash JSON",
"json": true,
"hide-extra": false,
"file-pattern": "\\.clog.*",
"line-format": [
{
"field": "@timestamp"
},
" ",
{
"field": "ipaddress"
},
" ",
{
"field": "message"
},
" ",
{
"field": "stack_trace",
"default-value": ""
}
],
"timestamp-field": "@timestamp",
"body-field": "message",
"level-field": "level",
"level": {
"trace": "TRACE",
"debug": "DEBUG",
"info": "INFO",
"error": "ERROR",
"warning": "WARN"
},
"value": {
"logger_name": {
"kind": "string",
"identifier": true
},
"ipaddress": {
"kind": "string",
"identifier": true
},
"level_value": {
"hidden": true
},
"stack_trace": {
"kind": "string"
}
}
}
}