lnav/test/formats/nestedjson/format.json
2021-04-16 14:47:47 -07:00

28 lines
716 B
JSON

{
"ntest_log" : {
"title" : "Test JSON Log",
"json" : true,
"file-pattern" : "logfile_(nested|invalid)_json\\.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"
}
}
}
}