lnav/test/formats/jsontest/format.json

25 lines
566 B
JSON
Raw Normal View History

{
"test_log" : {
"title" : "Test JSON Log",
"json" : true,
"file-pattern" : ".*\\.json.*",
"description" : "Test config",
"line-format" : [
{ "field" : "ts" },
" ",
{ "field" : "lvl" },
" ",
{ "field" : "msg" }
],
"level-field" : "lvl",
"timestamp-field": "ts",
"body-field" : "msg",
"value" : {
"user" : {
"kind" : "string",
"identifier" : true
}
}
}
}