Re: [nxlog-ce-users] Conditional Nested Block Confusion

2014-08-22 Thread Didjit Charlebois
Thanks. Finally got it working. Sidebar, is there a good editor to use for syntax checking? I'm using Notepad++ with an Apache2 syntax highlighter plug in. Wonder if there is something better. Thank you! Chris -- Slashdo

Re: [nxlog-ce-users] Conditional Nested Block Confusion

2014-08-21 Thread Cameron Kerr
I think you are missing a \ on the second-to-last line } What is the error message? On Thursday, 21 August 2014, Didjit Charlebois wrote: > Hi, > > I'm executing th efollowing in an input module: > > Exec if %IGNORE_ME% drop(); \ > else

Re: [nxlog-ce-users] Conditional Nested Block Confusion

2014-08-21 Thread Didjit Charlebois
Sent too soon. This is from the manual. What am I doing wrong with my statement? Thanks Chris Exec if $raw_event =~ /^#/ drop(); \ else \ { \ kvp->parse_kvp(); \ delete($EventReceivedTime); \ delete

[nxlog-ce-users] Conditional Nested Block Confusion

2014-08-21 Thread Didjit Charlebois
Hi, I'm executing th efollowing in an input module: Exec if %IGNORE_ME% drop(); \ else \ { \ $Server = $Hostname; \ if $raw_event =~ /(^\d\d.\d\d.\d\d\d