Werk #13826: logwatch plugin - Add the option to filter out consecutive duplicate lines
Component | Checks & agents |
Title | logwatch plugin - Add the option to filter out consecutive duplicate lines |
Date | Mar 8, 2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.2.0b1 2.1.0b4 |
Level | Trivial Change |
Class | New Feature |
Compatibility | Compatible - no manual interaction needed |
This werk extends the logwatch agent plugin with an option to filter out consecutive duplicate messages in the agent output.
If the option is enabled, identical consecutive messages will be filtered out. As soon as a different message comes in between, the filter will be reset.
Example:
Without filtering:
Message_Itself
Message_Itself
Message_Itself
Message_Again
With filtering:
Message_Itself
[the above message was repeated 2 times]
Message_Again