rsyslog imfile ワイルドカードのサポート
Issue
-
imfile ワイルドカードは、rsyslog-7.4.7-16.el7 以降でサポートされています。 参照: RFE 1303617
-
しかし、期待通りに動作しません。
-
次のように設定します。
# cat /etc/rsyslog.d/test.conf
module(load="imfile")
input(type="imfile" tag="TESTLOG" File="/tmp/testfile*")
- rsyslog の起動中に /var/log/message に次のエラーが記録されます。
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.