mirror of
https://github.com/tstack/lnav
synced 2024-11-09 19:10:52 +00:00
27 lines
703 B
JSON
27 lines
703 B
JSON
|
{
|
||
|
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
||
|
"subsec_json_log": {
|
||
|
"title": "JSON Log with subsecond field",
|
||
|
"json": true,
|
||
|
"file-pattern": "logfile_json_subsec\\.json",
|
||
|
"line-format": [
|
||
|
{
|
||
|
"field": "__timestamp__"
|
||
|
},
|
||
|
" ",
|
||
|
{
|
||
|
"field": "msg"
|
||
|
}
|
||
|
],
|
||
|
"timestamp-field": "instant/epochSecond",
|
||
|
"subsecond-field": "instant/nanoOfSecond",
|
||
|
"subsecond-units": "nano",
|
||
|
"body-field": "msg",
|
||
|
"value": {
|
||
|
"instant": {
|
||
|
"kind": "json",
|
||
|
"hidden": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|