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.
27 lines
615 B
JSON
27 lines
615 B
JSON
{
|
|
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
|
"bad_file_format1": {
|
|
"title": "bad file format",
|
|
"regex": {
|
|
"std": {
|
|
"pattern": "(?<timestamp>\\d+): (?<body>.*)$"
|
|
}
|
|
},
|
|
"converter": {
|
|
"header": {
|
|
"expr": {
|
|
"default": ":header REGEXP 'foobar"
|
|
},
|
|
"size": 8
|
|
}
|
|
},
|
|
"timestamp-format": [
|
|
"%i"
|
|
],
|
|
"sample": [
|
|
{
|
|
"line": "1234: abcd"
|
|
}
|
|
]
|
|
}
|
|
} |