lnav/src/formats/engine_log.json

34 lines
1.1 KiB
JSON

{
"$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"
}
]
}
}