Hi, I would like to split logs by backend through rsyslog dynamicaly.
something like : /var/log/haproxy_($backend).log I think it can be done with rsyslog $template like this tutorial https://tehlose.wordpress.com/2011/10/10/a-log-file-for-each-virtual-host-with-haproxy-and-rsyslog/ but I don't have any idea how to create the template to get backend name in the log. Can somebody help me ? Regards, Alexandre

