rsyslog case-insensitive filters not working as expected
Issue
- startswith_i and contains_i are used to perform case-insensitive comparisons of the text provided by the property.
- For example:
:hostname, startswith_i, "Test1" /var/log/mylog1.log
:hostname, contains_i, "Test2" /var/log/mylog2.log
- But the rules are not respected.
Environment
- Red Hat Enterprise Linux (RHEL) 7
- rsyslog-8.24.0-52.el7_8.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.