From 165cd69c8de24a86ef87d35de28854166c640190 Mon Sep 17 00:00:00 2001 From: Timothy Stack Date: Sat, 10 Aug 2019 22:16:54 -0700 Subject: [PATCH] [vmw_log] allow colons in user names --- src/default-log-formats.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/default-log-formats.json b/src/default-log-formats.json index 95eeee3a..494fdb27 100644 --- a/src/default-log-formats.json +++ b/src/default-log-formats.json @@ -1705,7 +1705,7 @@ "url" : "http://kb.vmware.com/kb/2004201", "regex" : { "6.0+" : { - "pattern" : "^(?\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}(?:Z|[-+]\\d{2}:\\d{2})) (?:Section for VMware VirtualCenter,.*|(?\\w+) (?\\w+)\\[(?\\w+)\\] \\[(?[^ \\]]+)\\s*(?: sub=(?[^ \\]]+))?(?: opID=(?[^ \\]]+))?(?: user=(?[\\w\\-]+))?\\](?.*)(?:\\n(?:.|\\n)*)?)$" + "pattern" : "^(?\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}(?:Z|[-+]\\d{2}:\\d{2})) (?:Section for VMware VirtualCenter,.*|(?\\w+) (?\\w+)\\[(?\\w+)\\] \\[(?[^ \\]]+)\\s*(?: sub=(?[^ \\]]+))?(?: opID=(?[^ \\]]+))?(?: user=(?[\\w\\-:]+))?\\]\\s*(?.*)(?:\\n(?:.|\\n)*)?)$" }, "5.0+" : { "pattern" : "^(?\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}(?:Z|[-+]\\d{2}:\\d{2})) \\[(?\\w+) (?\\w+) '(?[^']+)'(?: opID=(?[^ \\]]+))?(?: user=(?[\\w\\-]+))?\\](?.*)(?:\\n(?:.|\\n)*)?$"