Purge Old Events from Database

Use the cleanup-events.exe utility to remove old events from the database. Launch it from the console. To automatically remove events, use a batch file, or add a scheduled job to Windows Task Scheduler.

In order to remove events older than a given number of days, use the --age option. For example, to remove events older than 5 days, execute:

cleanup-events.exe --age 5

When creating a task in Windows Task Scheduler, specify --age DAYS as an argument, where DAYS is the minimum age of events to be purged.