[rsyslog] Separating logs by host?
Rainer Gerhards
rgerhards at hq.adiscon.com
Fri Dec 21 17:53:32 CET 2007
[sniiiip]
> The config I used it almost exactly what you provided...
>
> $template dsl, /var/log/cisco-dsl-%$NOW%.log
> :FROMHOST, startswith, "10.3." -?dsl
>
> Am I missing something basic?
I forgot the quotes around the template string ;) That should work (not
tested, though):
$template dsl, "/var/log/cisco-dsl-%$NOW%.log"
:FROMHOST, startswith, "10.3." -?dsl
Rainer
More information about the rsyslog
mailing list