add subsystem to the vmk_log format

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

@ -792,7 +792,7 @@
"url": "", "url": "",
"regex": { "regex": {
"std": { "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", "level-field": "level",
@ -808,6 +808,10 @@
"world_id": { "world_id": {
"kind": "integer", "kind": "integer",
"identifier": true "identifier": true
},
"subsystem": {
"kind": "string",
"identifier": true
} }
}, },
"sample": [ "sample": [

Loading…
Cancel
Save