mirror of
https://github.com/tstack/lnav
synced 2024-11-09 19:10:52 +00:00
a59e0b290e
Fixes #303
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
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.*",
|
|
"multiline": false,
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|