You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lnav/src/formats/engine_log.json

38 lines
1.2 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>(?:-|\\n)*)"
}
},
"opid-field": "tid",
"value": {
"tid": {
"kind": "string",
"identifier": true
},
"logger": {
"kind": "string",
"identifier": true
},
"thread": {
"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"
}
]
}
}