It doesn't appear that you can put forwarding server information in a template.
Am I overlooking something? Short of sending a patch to enable this, are there
any good ways to do this?
What I want to do is:
$template MyTemplate,"unique %FROMHOST% %MSG%"
$template SyslogHost,"@@hostname:514;MyTemplate"
local0.* ?SyslogHost
This is to replace a syslog-ng implementation which has a syntax that does this:
destination SyslogHost { tcp("hostname" port(514) template("unique $HOST
$MSGONLY\n")); };
--
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/