I'm using nxlog community to send logs from my firewalls through syslog.
My output is like that:
File 'c:\datas\firewall_' + $MessageSourceAddress + '.log'
If my firewalls 192.168.1.1 and 192.168.1.2 are correctly configured, the result will be two files:
c:\datas\firewall_192.168.1.1.log and c:\datas\firewall_192.168.1.2.log
My problem is now to rotate this file on a daily basis.
I've tried to apply the command rotate_to but it seems that it applies only on the first file.
How can I do rotation on multiple files with names based on a variable ?
Thank you !