2015-07-20 13:33:52 +00:00
|
|
|
{
|
|
|
|
"bad_regex_log": {
|
|
|
|
"title": "invalid regex test",
|
|
|
|
"regex": {
|
|
|
|
"std": {
|
|
|
|
"pattern": "^(?<timestamp>\\d+: (?<body>.*)$"
|
2022-08-01 05:00:25 +00:00
|
|
|
},
|
|
|
|
"incomplete-match": {
|
|
|
|
"pattern": "^(?<timestamp>\\d+);"
|
2015-07-20 13:33:52 +00:00
|
|
|
}
|
|
|
|
},
|
2022-08-01 05:00:25 +00:00
|
|
|
"level": {
|
|
|
|
"error": "(foo"
|
2015-08-13 05:34:41 +00:00
|
|
|
},
|
2022-08-01 05:00:25 +00:00
|
|
|
"timestamp-format": [
|
2015-07-20 13:33:52 +00:00
|
|
|
"%i"
|
|
|
|
],
|
|
|
|
"sample": [
|
|
|
|
{
|
|
|
|
"line": "1428634687123; foo"
|
|
|
|
}
|
2017-04-05 14:05:19 +00:00
|
|
|
],
|
2017-12-29 14:50:01 +00:00
|
|
|
"highlights": {
|
|
|
|
"foobar": {
|
|
|
|
"pattern": "abc("
|
|
|
|
}
|
|
|
|
}
|
2015-07-20 13:33:52 +00:00
|
|
|
}
|
|
|
|
}
|