On Fri, 2 Oct 2015, GeertLiesveld wrote:
$template DynamicFilename,"/tunix-data/log/%FROMHOST%/messages"
just a note, %fromhost% is a reverse lookup of the IP address, so if you have two IP addresses that map to the same name they will end up in the same file. This mapping could be in /etc/hosts or in DNS
%fromhost-ip% will be the source IP address in the UDP packet. David Lang _______________________________________________ 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.

