I wonder if it's possible to set up auto-cleanup task[s] for collected data and alert execution history ?
Ideally I'd like to combine one or more from the options below, but I cannot find any of them so far.
- always keep records for at least X number of days
- always keep X number of records , and delete older when needed
- keep no more than X MB of historical data
Say, I want to keep up to 3 month of data unless I reach a limit of 100MB
Surely, I can directly manipulate repository database , but maybe there is a better way.
Thank you