mirror of
https://github.com/tstack/lnav
synced 2024-11-01 21:40:34 +00:00
25 lines
566 B
JSON
25 lines
566 B
JSON
|
{
|
||
|
"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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|