You are not escaping embedded / characters in the pattern
(/\d\d/\d\d/... should be /\d\d\/\d\d\/...).
Regards,
Mark
On 7/27/2014 3:03 PM, Chris wrote:
Hi,
Trying to do this:
Exec if ($raw_event =~ /^\d\d/\d\d/\d\d\d\d\s\d\d:\d\d:\d\d\,\d\d\d/)
$EventTime = strptime($1, '%Y-%m-%dT%l:%M:%S%z');
But I keep getting:
2014-07-26 15:50:35 ERROR Couldn't parse Exec block at c:\Program
Files (x86)\nxlog\conf\nxlogPLAY2.conf:83; couldn't parse statement at
line 83, character 31 in c:\Program Files
(x86)\nxlog\conf\nxlogPLAY2.conf; invalid character: '\'
Cut and pasted several variations from the manual and keep getting the
same error.
Any ideas?
Thank you,
--
Mark D. Nagel, CCIE #3177 <mna...@willingminds.com>
Principal Consultant, Willing Minds LLC (http://www.willingminds.com)
cell: 949-279-5817, desk: 714-495-4001, fax: 714-646-8277
** For faster support response time, please
** email supp...@willingminds.com or call 714-495-4000
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users