From 83a3e691189d310dd5c55dce5170e970b21da5c2 Mon Sep 17 00:00:00 2001 From: Suresh Sundriyal <247110+sureshsundriyal@users.noreply.github.com> Date: Fri, 11 Sep 2020 12:53:12 -0700 Subject: [PATCH] [Format] Fix up the greedy match --- src/formats/vmw_log.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formats/vmw_log.json b/src/formats/vmw_log.json index 6d06264b..51f3544b 100644 --- a/src/formats/vmw_log.json +++ b/src/formats/vmw_log.json @@ -26,7 +26,7 @@ "pattern": "^(?\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{3})?(?:Z|[-+]\\d{2}:\\d{2})) (?[^:]+):\\s+(?\\w+):\\s+(?[^:]+):(?\\d+)?\\s+(?\\w+):?\\s+(?.*)(?:\\n(?:.|\\n)*)?$" }, "vum-log4cpp": { - "pattern": "^\\[(?\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}:\\d{3}) '(?.*)' (?\\d+) (?EMERG|FATAL|ALERT|CRIT|ERROR|WARN|NOTICE|INFO|DEBUG|NOTSET)\\]\\s+(\\[(?\\S+), (?\\d+)\\])? (?.*$)" + "pattern": "^\\[(?\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}:\\d{3}) '(?[^']*)' (?\\d+) (?EMERG|FATAL|ALERT|CRIT|ERROR|WARN|NOTICE|INFO|DEBUG|NOTSET)\\]\\s+(\\[(?\\S+), (?\\d+)\\])? (?.*$)" } }, "level-field": "level",