mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
Merge pull request #117 from iranzo/master
Add support for RHEV/oVirt engine.log file
This commit is contained in:
commit
6abdcf3ff2
@ -140,6 +140,41 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"engine_log" : {
|
||||
"title" : "engine log",
|
||||
"description" : "The log format for the engine.log files from RHEV/oVirt",
|
||||
"regex" : {
|
||||
"std" : {
|
||||
"pattern" : "^(?<timestamp>.+) (?<level>.+) \\[(?<logger>.+)\\] \\((?<tid>.+)\\) (?<body>(?:-|\\n)*)"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"error_log" : {
|
||||
"title" : "Common Error Log",
|
||||
"description" : "The default web error log format for servers like Apache.",
|
||||
|
Loading…
Reference in New Issue
Block a user