rsyslog case-insensitive filters not working as expected

Solution In Progress - Updated -


  • 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.


  • 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content