rsyslog imfile wildcard support
Issue
-
Imfile wildcards is supported since rsyslog-7.4.7-16.el7. Reference: RFE 1303617
-
However, it doesn't work as expected.
-
Configure as following:
# cat /etc/rsyslog.d/test.conf
module(load="imfile")
input(type="imfile" tag="TESTLOG" File="/tmp/testfile*")
- Got following error in /var/log/messages during rsyslog start.
rsyslogd: imfile: The to-be-monitored file "/tmp/testfile*" contains wildcards. This is not supported in polling mode. [v8.24.0 try http://www.rsyslog.com/e/2420 ]
Environment
Red Hat Enterprise Linux 7
rsyslog-7.4.7-16.el7
rsyslog-8.24.0-12.el7
rsyslog-8.24.0-12.el7_4.7
rsyslog-8.24.0-12.el7_4.8
rsyslog-8.24.0-16
rsyslog-8.24.0-16.el7_5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.