mirror of https://github.com/tstack/lnav
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
470 B
JSON
22 lines
470 B
JSON
9 years ago
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|