Werk #14550: mk_logwatch via bakery: Add APPEND option for message classification

Component Agent bakery
Title mk_logwatch via bakery: Add APPEND option for message classification
Date Aug 4, 2022
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.0.0p28 2.1.0p10 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The mk_logwatch agent plugin can be deployed via the agent bakery (ruleset Text logfiles (Linux, Solaris, Windows)). In this ruleset, users can specify regular expressions for processing log messages. Before this werk, users could specify regular expressions to classify messages (OK/WARNING/CRITICAL), to ignore messages and to rewrite messages.

As of this werk, users can additionally specify regular expressions to combine multiple log lines into a single message via the APPEND option, see the help of the bakery ruleset for details. One use case for this is the processing of multi-line stack traces.

Note that this feature was already supported by the mk_logwatch agent plugin before this werk, but it was not configurable via the agent bakery.

To the list of all Werks