rsyslog: imfile state files not removed automatically
Issue
When rsyslog
imfile configurations are in place to read in a log file for processing by rsyslog
, the related state files used for keeping track of the messages that have been processed are not removed automatically. After extended periods of time, this can result in the cluttering of the directory and eventually exhaustion of space on the partition where the rsyslog
working directory exists.
Environment
- Red Hat Enterprise Linux 7
- all rsyslog versions
- Red Hat Enterprise Linux 8
- rsyslog version <
rsyslog-8.2102.0-10.el8
- rsyslog version <
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.