--- title: "Best practice: Schedule purging the Threat Event Log" slug: "best-practice-schedule-purging-the-threat-event-log" tags: ["Product Usage", "ePolicy Orchestrator – On-prem", "ePO 5.10.x", "ePO 5.10.0"] updated: 2026-09-07T17:47:05Z published: 2026-09-07T17:47:05Z canonical: "docs.trellix.com/best-practice-schedule-purging-the-threat-event-log" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Best practice: Schedule purging the Threat Event Log You can create a server task to automatically purge the **Threat Event Log**. For details about product features, usage, and best practices, click ? or Help. 1. Select **Menu** → **Automation** → **Server Tasks**. 2. Click **New Task**, **Server Task Builder** appears. 3. Enter the **Name** and **Notes**(optional). Next to **Schedule Status**, select **Enabled**, then click **Next**. 4. Select **Purge Threat Event Log** from the drop-down list. 5. Select whether to purge by age or from a queries result. If you purge by query, pick a query that results in a table of events. 6. Click **Next**. 7. Schedule the task as needed, then click **Next**. 8. Review the task's details, then Click **Save**.