Having trouble regexing the date time out of the following log statement:
2014/08/07 17:52:22.5123 SVCMTVE3FDAPP01 SEE 7512 SEE Stats AuditInfo
#[14796283][Sub][TE...
I have tried the following to no avail:
Exec if $raw_event =~
/^(\d\d\d\d\/\d\d\/\d\d\t\d\d:\d\d:\d\d.\d\d\d\d)/ $EventTime =
parsedate($1);
It gets the following error:
2014-08-07 17:44:55 ERROR Couldn't parse Exec block at C:\Program Files
(x86)\nxlog\conf\nxlog.conf:25; couldn't parse statement at line 25,
character 37 in C:\Program Files (x86)\nxlog\conf\nxlog.conf; failed to
compile regular expression '^(\d\d\d\d\', error at position 11: missing )
Seems to choke on the backslash. Any suggestions?
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users