I believe everything you need is on this page:
http://www.rsyslog.com/doc/property_replacer.html
On Apr 10, 2012, at 6:21 AM, [email protected] wrote:
> hey folks, we are trying to convert from syslog-ng to rsyslog and Im having
> trouble with converting the following types of filters..
>
> # FWSM traffic logging:
> destination d_fwlog { file("/data/log/fw.log"
> perm(0640)
> template("$DATE $HOST app=$PROGRAM facility=$FACILITY priority=$PRIORITY
> $MSGONLY\n"));
> #template("$DATE $HOST $PROGRAM: [$FACILITY.$PRIORITY] $MSGONLY\n"));
> };
> log { source(s_sys); source(s_udp); filter(f_local4); destination(d_fwlog); };
>
>
> any help appeciated.
>
> Jason
>
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
--
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source and other
randomness
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/