[rsyslog-notify] Forum Thread: Re: V5.8.0 Help Templates - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Thu Feb 20 13:41:11 CET 2014


User: gouhier 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=24244#p24244

Message: 
----------
thanks for your answer.
well, I can't upgrade rsyslog in my embeded linux...
I bypassed this small problem like this:

Messages looks like this: "exename[222] file.c[12]: event:# txt of event
message"

$template event_fmt,"%$DAY%/%$MONTH%/%$YEAR% %timereported:8:15%
%msg:R,ERE,0,FIELD:(#.*)--end%\n"

:msg, contains, "event:" /var/log/events.log;event_fmt

and the result is: "11/02/2014 09:12:55 # txt of event message"


More information about the rsyslog-notify mailing list