--- distrib/rsyslog_traps_iptables.conf 2014-11-19 10:59:28.000000000 +0100 +++ modif/rsyslog_traps_iptables.conf 2015-03-06 08:45:06.888132186 +0100 @@ -1,6 +1,6 @@ # Templates for local and remote logging -$template DynLocalIptables, "/var/log/rsyslog/local/iptables/iptables.%syslogseverity-text%.log" -$template DynRemoteIptables, "/var/log/rsyslog/remote/%fromhost%/iptables/iptables.%syslogseverity-text%.log" +$template DynLocalIptables, "/var/log/rsyslog/local/iptables/iptables.%syslogseverity-text%.log" +$template DynRemoteIptables, "/var/log/rsyslog/remote/%fromhost%/%hostname%/iptables/iptables.%syslogseverity-text%.log" %if %%activer_reception_logs == 'non' # all messages go in local branch