mirror of
https://github.com/tstack/lnav
synced 2024-11-09 19:10:52 +00:00
22 lines
470 B
JSON
22 lines
470 B
JSON
|
{
|
||
|
"bad_sample_log": {
|
||
|
"title": "invalid sample test",
|
||
|
"regex": {
|
||
|
"std": {
|
||
|
"pattern": "^(?<timestamp>\\d+): (?<body>.*)$"
|
||
|
},
|
||
|
"semi": {
|
||
|
"pattern": "^(?<timestamp>\\d+); (?<body>\\w+)$"
|
||
|
}
|
||
|
},
|
||
|
"timestamp-format" : [
|
||
|
"%i"
|
||
|
],
|
||
|
"sample": [
|
||
|
{
|
||
|
"line": "1428634687123; foo bar"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|