[Techtalk] rsyslog
Wolf Rising
wolfrising at gmail.com
Thu Apr 25 14:25:01 UTC 2013
Would anyone happen to know how to get rsyslog to forward messages from a
group of servers to a central logging server and
have the logs sorted under directories by hostname?
I can get the logs to copy to the remote logging server but they all
just end up under scattered /var/log
instead of nicely sorted into directories by sending server name.
I've tried using templates
$template DynFile, "/var/log/%FROMHOST%/%syslogfacility-text%.log"
but these write out to the local machines /var/log directory.
Thanks!
More information about the Techtalk
mailing list