2015-07-20 13:33:52 +00:00
|
|
|
{
|
2020-12-19 06:35:23 +00:00
|
|
|
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
2015-07-20 13:33:52 +00:00
|
|
|
"bad_sample_log": {
|
|
|
|
"title": "invalid sample test",
|
|
|
|
"regex": {
|
|
|
|
"std": {
|
2020-12-19 06:35:23 +00:00
|
|
|
"pattern": "^(?<timestamp>\\d+): (?<pid>\\w+) (?<body>.*)$"
|
2015-07-20 13:33:52 +00:00
|
|
|
},
|
|
|
|
"semi": {
|
|
|
|
"pattern": "^(?<timestamp>\\d+); (?<body>\\w+)$"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"timestamp-format" : [
|
|
|
|
"%i"
|
|
|
|
],
|
2020-12-19 06:35:23 +00:00
|
|
|
"value": {
|
|
|
|
"pid": {
|
|
|
|
"kind": "foo"
|
|
|
|
}
|
|
|
|
},
|
2015-07-20 13:33:52 +00:00
|
|
|
"sample": [
|
|
|
|
{
|
|
|
|
"line": "1428634687123; foo bar"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|