I think you are missing a \ on the second-to-last line }

What is the error message?

On Thursday, 21 August 2014, Didjit Charlebois <didji...@gmail.com> wrote:

> 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\d\s\d\d:\d\d:\d\d)/  \
>  { \
> $EventTime = strptime($1, '%m/%d/%Y %T');\
> if minute(now()) == 10  log_info("IN1- " + $EventTime); \
>  }
> }
>
> I keep getting configuration errors. All works on separate lines. I found
> this sample in the manual and it seems my syntex should work too.
>
>

-- 
-- 
Cameron Kerr <cameron.kerr...@gmail.com>
See my blog at http://distracted-it.blogspot.co.nz/  (previously
http://humbledown.org/)
Skype me on cameron.kerr.nz
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to