Problem
You want to change the default log file retention within Checkmk.
Solution
Site log files
Have a look at the following files and directories within your Checkmk site:
~/etc/logrotate.conf ~/etc/logrotate.d/
Here you can find the default log retention settings and adapt them to your needs if necessary.
Checkmk history log
Within Checkmk you can configure the time of day, when the rotation of the history log occurs, as well as the size necessary to trigger a rotation:
Related articles