mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
33 lines
833 B
JSON
33 lines
833 B
JSON
{
|
|
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
|
"ntest_log": {
|
|
"title": "Test JSON Log",
|
|
"json": true,
|
|
"file-pattern": "logfile_(nested|invalid)_json\\d*\\.json",
|
|
"description": "Test config",
|
|
"line-format": [
|
|
{
|
|
"field": "ts"
|
|
},
|
|
" ",
|
|
{
|
|
"field": "/@fields/lvl"
|
|
},
|
|
" ",
|
|
{ "field" : "@fields/msg" }
|
|
],
|
|
"level-field" : "/@fields/lvl",
|
|
"timestamp-field": "ts",
|
|
"body-field" : "@fields/msg",
|
|
"value" : {
|
|
"@fields/user" : {
|
|
"kind" : "string",
|
|
"identifier" : true
|
|
},
|
|
"@fields/trace#" : {
|
|
"kind" : "string"
|
|
}
|
|
}
|
|
}
|
|
}
|