Manage AD audit event cleanup
Audit event cleanup removes eligible historical event details and associated original content stored in Ping64, according to event-category rules and retention days. It does not remove already generated aggregate statistics, so statistical totals can differ from the remaining visible details. This operation cleans platform data; it does not clear domain-controller security logs and cannot restore lost records.
Cleanup deletes data. Rules apply to matching records across domains in the current organization, not just the domain currently being viewed. Confirm every affected domain, category and retention requirement before execution. Cancelling a run cannot restore records already deleted. When evidence must be retained, first confirm available backups and a recovery arrangement under the organization's retention and backup policies; do not assume automatic recovery.
Prepare
- Confirm the AD domain management license and the administrator's permissions to view and change cleanup rules. Starting or cancelling a manual run also requires the corresponding operation permission. With data owners, confirm audit, compliance and investigation retention requirements for all affected domains.
- Review the purpose of current records and any original evidence to retain, using security event collection and review; check ongoing investigations and legal preservation requirements. Cleanup and event collection scopes are separate switches: stopping collection does not ensure historical records will be exempt from cleanup.
- Make an approved change during a maintenance window. Confirm backup and recovery arrangements first and plan a post-run review. If the impact or evidence to retain is unclear, do not enable rules or submit a cleanup.
Set category retention rules
- Open Audit Event Cleanup in AD domain management. Review each event category, current count, estimated expired count, cleanup status and Retention Days. Categories include authentication, user account management, DNS audit and others displayed on the page; use the actual list.
- Select Enable cleanup only for approved categories and set retention days for each. The allowed range is 1 to 3650 days. Initial rules are disabled with 180 retention days; existing configurations may differ, so check the page. A disabled category is not cleaned under that rule.
- Review all category switches and values, then select Save rules. If another administrator's concurrent change causes saving to fail, refresh and review the latest configuration and impact before changing it again under the approval process. Do not overwrite blindly.
Preview and run manually
- After saving rules, select Clean up now. A valid preview requires at least one enabled rule; save and recheck any unsaved changes first. Opening the preview does not itself delete data.
- In Confirm immediate cleanup, review each category, retention days, cutoff and estimated deletion count, as well as the total estimate. The preview reflects data and rules at preview time; the submitted run determines its own execution scope, so actual counts can differ. Do not treat the estimate as a locked deletion list.
- If the impact is approved and backup and recovery arrangements are confirmed, select Confirm cleanup; otherwise cancel and reassess. Successful submission means the task was submitted, not that deletion has finished.
- Open Cleanup runs, inspect status and details, and verify scanned and deleted counts, errors and results by category. A task may wait, run, retry, fail, partially fail, complete or be cancelled. Do not submit the same cleanup repeatedly before confirming its final state.
Automatic cleanup and cancellation
- For periodic cleanup, open Automatic cleanup settings, enable Enable daily automatic cleanup, set Daily execution time and save. Execution uses the server's local time; first check its time zone, maintenance schedule and enabled rules. Automatic cleanup is initially disabled; check the displayed settings for an existing configuration.
- An automatic task uses the category rules enabled when that task was created. After changing or disabling rules, review both the rules and automatic cleanup settings. Do not assume that switching off a setting cancels tasks already submitted.
- For tasks still queued, running or waiting to retry, select Cancel in Cleanup runs and confirm stopping. After submitting the request, continue checking the final state and deleted count. Cleanup runs in batches: cancellation cannot restore deleted data and may not immediately stop a batch already in progress.
Verify and troubleshoot
- If the preview lacks expected results, check that at least one category is enabled, retention and cutoff are correct, and eligible historical records exist. Some records may not yet meet cleanup conditions; age alone does not guarantee deletion.
- If a task fails or partially fails, inspect category results and errors in its run record and establish whether any data was already deleted before following the organization's troubleshooting process. Do not repeat the run or shorten retention to widen deletion until the actual result is understood.
- After completion, query security events again as needed and compare them with the run record. Aggregate statistics may remain. Missing platform details do not mean the controller's original logs were cleared, nor do they prove that a recoverable backup exists.
Updated