add subsystem to the vmk_log format

pull/226/head
Timothy Stack 9 years ago
parent d8d46a49dc
commit 9ac53b114e

@ -792,7 +792,7 @@
"url": "",
"regex": {
"std": {
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z) cpu(?<cpu>\\d+):(?<world_id>\\d+)\\)((?<level>WARNING|ALERT): )?(?<body>.*)"
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z) cpu(?<cpu>\\d+):(?<world_id>\\d+)\\)((?:(?<level>WARNING|ALERT)|(?<subsystem>[^:]+)): )?(?<body>.*)"
}
},
"level-field": "level",
@ -808,6 +808,10 @@
"world_id": {
"kind": "integer",
"identifier": true
},
"subsystem": {
"kind": "string",
"identifier": true
}
},
"sample": [

Loading…
Cancel
Save