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.
28 lines
643 B
JSON
28 lines
643 B
JSON
{
|
|
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
|
"bad_sample_log": {
|
|
"title": "invalid sample test",
|
|
"regex": {
|
|
"std": {
|
|
"pattern": "^(?<timestamp>\\d+): (?<pid>\\w+) (?<body>.*)$"
|
|
},
|
|
"semi": {
|
|
"pattern": "^(?<timestamp>\\d+); (?<body>\\w+)$"
|
|
}
|
|
},
|
|
"timestamp-format" : [
|
|
"%i"
|
|
],
|
|
"value": {
|
|
"pid": {
|
|
"kind": "foo"
|
|
}
|
|
},
|
|
"sample": [
|
|
{
|
|
"line": "1428634687123; foo bar"
|
|
}
|
|
]
|
|
}
|
|
}
|