2013/7/3 Orangepeel Beef <[email protected]> > Hey guys, trying to get a template working that is basically > > RSYSLOG_FileFormat with the only difference being that hostname is > replaced with %fromhost% in the log message. > > The template and property replacer doc page isn't exactly clear to me, can > anyone point me in the right direction? > > > Hello,
Does this work? $template OJBeef,"%timereported:::date-rfc3339% %fromhost% %syslogtag% %msg%\n" *.* /var/log/messages;OJBeef Best regards, Radu _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

