lnav/test/formats/jsontest/format.json

25 lines
574 B
JSON
Raw Normal View History

{
"test_log" : {
"title" : "Test JSON Log",
"json" : true,
"file-pattern" : "logfile_json\\.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
}
}
}
}