Multiple logs with one file directive

Tags:

#1 bigfoot

If wildcards are not enough, can I specify multiple files like

 

File "/var/log/messages;/var/log/otherlog;/var/log/something"


Or are regular expressions allowed here?

#2 adm Nxlog ✓
#1 bigfoot
If wildcards are not enough, can I specify multiple files like   File "/var/log/messages;/var/log/otherlog;/var/log/something" Or are regular expressions allowed here?

Unfortunately that won't work, only one File directive can be used per module instance. On the other hand you can add multiple im_file instances to your conf. Not so nice but works.