Logwatch: improve logwatch to handle only one file, the newest file with manual service name

2 votes

It is imperative to enhance the functionality of Logwatch to facilitate the monitoring of a single file, specifically the most recent one.


At present, the issue under consideration is the presence of undesirable services, which are a consequence of the definition of the rule "/var/log/xxx_yyy_*.log."


It is not possible to define a single log after xxx_yyyy_<are variable numbers and strings>.log.


However, it should be noted that Logwatch/Checkmk has to be designed to manage only the most recent file. Therefore, it is imperative that the designation of the service be adaptable, or even more ideally, manually assigned.

Under consideration Log monitoring / Event Console Suggested by: JPH Upvoted: 22 Aug, '25 Comments: 2

Comments: 2
OldestNewestMost likesFewest likes