mirror of
https://github.com/tstack/lnav
synced 2024-11-05 21:21:19 +00:00
1c8c7089cb
Try all formats and find the one with the highest quality match. For JSON logs, this means the format that matched the most fields in the line-format. Related to #1136
11 lines
516 B
Plaintext
11 lines
516 B
Plaintext
2013-09-06T20:00:48.124 TRACE trace test
|
|
@fields: { "lvl": "TRACE", "msg": "trace test"}
|
|
2013-09-06T20:00:48.124 TRACE trace test
|
|
@fields: { "lvl": "TRACE", "msg": "trace test"}
|
|
2013-09-06T20:00:49.124 INFO Starting up service
|
|
@fields: { "lvl": "INFO", "msg": "Starting up service"}
|
|
[offset: 186] {"ts": "2013-09-06T22:00:49.124817Z", "@fields": { "lvl": "INFO", "msg":
|
|
parse error: premature EOF
|
|
{"ts": "2013-09-06T22:00:49.124
|
|
(right here) ------^
|