2015-04-26 11:57:36 +00:00
|
|
|
{
|
|
|
|
"ntest_log" : {
|
|
|
|
"title" : "Test JSON Log",
|
|
|
|
"json" : true,
|
2019-09-03 13:19:57 +00:00
|
|
|
"file-pattern" : "logfile_(nested|invalid)_json\\.json",
|
2015-04-26 11:57:36 +00:00
|
|
|
"description" : "Test config",
|
|
|
|
"line-format" : [
|
|
|
|
{ "field" : "ts" },
|
|
|
|
" ",
|
2021-04-16 21:47:47 +00:00
|
|
|
{ "field" : "/@fields/lvl" },
|
2015-04-26 11:57:36 +00:00
|
|
|
" ",
|
|
|
|
{ "field" : "@fields/msg" }
|
|
|
|
],
|
2021-04-16 21:47:47 +00:00
|
|
|
"level-field" : "/@fields/lvl",
|
2015-04-26 11:57:36 +00:00
|
|
|
"timestamp-field": "ts",
|
|
|
|
"body-field" : "@fields/msg",
|
|
|
|
"value" : {
|
|
|
|
"@fields/user" : {
|
|
|
|
"kind" : "string",
|
|
|
|
"identifier" : true
|
2019-04-17 13:16:10 +00:00
|
|
|
},
|
|
|
|
"@fields/trace#" : {
|
|
|
|
"kind" : "string"
|
2015-04-26 11:57:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|