From 98e8f1b1c38953b39de0aa2c4c3750c86e50531e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Iranzo=20G=C3=B3mez?= Date: Mon, 10 Nov 2014 20:37:07 +0100 Subject: [PATCH] Add support for RHEV/oVirt engine.log file --- src/default-log-formats.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/default-log-formats.json b/src/default-log-formats.json index 5f213112..ddc7aca1 100644 --- a/src/default-log-formats.json +++ b/src/default-log-formats.json @@ -140,6 +140,41 @@ } ] }, + "engine_log" : { + "title" : "engine log", + "description" : "The log format for the engine.log files from RHEV/oVirt", + "regex" : { + "std" : { + "pattern" : "^(?.+) (?.+) \\[(?.+)\\] \\((?.+)\\) (?(?:-|\\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.",