lnav/test/bad-config/formats/invalid-properties/format.json

28 lines
708 B
JSON
Raw Normal View History

2022-04-12 23:07:13 +00:00
{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"invalid_props_log": {
"title": "invalid properties",
"regex": {
"std": {
"pattern": "^(?<timestamp>\\d+): (?<pid>\\w+) (?<body>.*)$"
}
},
"timestamp-field": "ts",
"sample": [
{
"line": "1428634687123: 1234 abc"
}
],
"highlights": {
"hl1": {
"color": "not a color",
"background-color": "also not a color"
}
},
"search-table": {
"bad_table_regex": {
"pattern": "abc(def"
}
}
}
}