Improve handling of files with date or numbers in Logwatch Event Console Forwarding

19 votes

There are many cases where log files contain a date or a sequence number in the name.


Unfortunately, the "Logwatch Event Console Forwarding" service does not handle such files very well.

If you enable "Create a separate check for each logfile" a new service is created for each log, although technically it is always the same log.

If you activate "Monitoring of forwarded logfiles" you will always be alerted because the list of filenames keeps changing.

For logfiles with a date or a sequence number in the name only one service should be created which alarms if no current logfile is available. As it is already the case with the logs with static names.

Not planned Log monitoring / Event Console Suggested by: Lars Sörensen Upvoted: 13 Dec, '23 Comments: 1

Comments: 1