Automated "Clear Logs" rule - based by time or so

Hi there,

we use some eventlogs checks, just for notice. It is possible to set a clear rule to clear all events for example each morning ?
image

image

Kind regards,
Constantin

Hello Constantin,

I am not an expert in event console and I have no good experience with event based monitoring.
In the event rule you have an option to expire events. Its in Counting & Timing → Limit event lifetime.
You could expire events e.g. after 24hrs

regards

Michael

Hi,
your are talking about the EC and showing screenshots from logwatch. If you want to delete the log files on a regular basis, you can setup Linux cronjobs for this: The logfiles are stored in var/check_mk/logwatch.

Karl

1 Like