diff options
Diffstat (limited to '')
-rw-r--r-- | src/formats/engine_log.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/formats/engine_log.json b/src/formats/engine_log.json new file mode 100644 index 0000000..eeea2e8 --- /dev/null +++ b/src/formats/engine_log.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://lnav.org/schemas/format-v1.schema.json", + "engine_log": { + "title": "engine log", + "description": "The log format for the engine.log files from RHEV/oVirt", + "regex": { + "std": { + "pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}+)\\s+(?<level>\\w+)\\s+\\[(?<logger>[^\\]]+)\\]\\s+\\((?<tid>[^\\)]+)\\)\\s+(?<body>.*)" + } + }, + "opid-field": "tid", + "value": { + "tid": { + "kind": "string", + "identifier": true + }, + "logger": { + "kind": "string", + "identifier": true + } + }, + "level-field": "level", + "level": { + "error": "ERROR", + "info": "INFO", + "warning": "WARN" + }, + "sample": [ + { + "line": "2014-09-21 04:01:29,522 INFO [org.ovirt.engine.core.bll.OvfDataUpdater] (DefaultQuartzScheduler_Worker-90) Successfully updated VM OVFs in Data Center Test" + } + ] + } +}
\ No newline at end of file |