Dear All,

I configured:

$template PerHostLog,"/var/log/remote-hosts/%HOSTNAME%.log"
if $fromhost-ip startswith '192.168.7.' then -?PerHostLog

This works nice.
But can i have the filename as %ip%.log ?
I don't want hostname.
Thanks,

Reinoud.
_______________________________________________
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.

Reply via email to