# Configure Data Cleanup and Review Execution Logs

Canonical: https://www.nsecsoft.com/en/docs/ping64-platform/platform/operations/data-cleanup/

Language: en-US

Updated: 2026-11-28T15:19:11.391Z

Ping64 data cleanup processes expired data on a schedule for enabled scopes and their retention periods. Some records and associated files are permanently deleted. Cleanup is not a backup; do not assume deleted data can be restored. Saving settings, execution, and each scope’s result are separate stages.

To view existing cleanup logs, a super administrator with the appropriate platform-settings view permission can go directly to the cleanup-log section below. Viewing logs does not require enabling automatic cleanup or changing retention settings. The preparation below applies to cleanup configuration.

**Separate from AD audit cleanup:** Platform data cleanup and [AD audit-event cleanup](https://www.nsecsoft.com/en/docs/ping64-identity-access/ad-domain/audit/cleanup-audit-events/) have separate settings and execution records. Disabling platform automatic cleanup does not mean AD audit cleanup is disabled. Check each set of rules, schedules and execution status; confirm submitted or ongoing tasks separately.

## Before You Begin

-   Use a super-administrator account with the relevant platform-settings permissions. Both configuration and log pages restrict access to super administrators.
-   Confirm legal, audit, and business retention requirements with data owners. Review every scope, backups, and recovery arrangements; assess the impact on historical investigations and verify recovery in a controlled environment when needed.
-   Confirm the execution time, time zone, and maintenance window. For offline endpoint cleanup, also review the long-offline threshold in general settings; this page does not describe every cleanup condition.

## Configure Automatic Cleanup

**Initial configuration:** When no configuration has been saved and the page loads correctly, automatic cleanup and each cleanup scope start disabled. The daily execution time is `02:00`, and the page may use the browser time zone. Each scope still displays retention days, which must pass validation when saving. Existing configurations may differ; do not infer site settings from initial values alone. Before enabling and saving, check each scope, retention period and time zone against organizational requirements.

**Retention examples by scope:** With no saved configuration, **Alerts** initially retains `1095` days and accepts `30` through `3650` days; **Screen recordings** initially retains `30` days and accepts `1` through `365` days. Both limits are inclusive and both scopes start disabled. Check the page guidance for other scopes; existing settings may differ. Initial values are not the organization’s compliance requirements and do not guarantee immediate cleanup at expiry.

**Check today’s schedule before enabling:** If the scheduled time has passed in the selected time zone and no scheduled run has been recorded for that local day, cleanup may start on a subsequent scheduler check after enabling and saving, rather than waiting until the next day. For example, this may happen when a `02:00` schedule is enabled at `14:00` in the same time zone; actual execution also depends on task state and other conditions. Conversely, if a scheduled run has already been recorded that day, changing the time or disabling and re-enabling does not guarantee another run that day. Before enabling or changing the configuration, check logs, scopes, retention requirements, and backups, and be prepared for the cleanup’s effects.

1.  Open **Data Cleanup** in system settings and wait for the current settings and scopes to load. A blank page after a load failure does not establish the existing configuration.
    
2.  Review each scope’s description, switch, and retention days. Enable only the intended scopes and enter values within each displayed range. Do not assume this configuration cleans a disabled scope.
    
3.  Set **Daily execution time** in `HH:mm` and select **Console time zone**. Execution is calculated in the selected time zone. Before initial configuration the page may use the browser time zone; verify it against organizational requirements before saving. In a time zone with daylight saving time, a scheduled local time that does not exist on the transition date is skipped; a repeated local time is calculated using the earlier occurrence. Avoid transition periods and check cleanup logs and actual results around the change.
    
    Saving submits the entire cleanup configuration. Concurrent edits followed by a save from an older page may overwrite another administrator’s changes to switches, scopes, retention days or time. Coordinate beforehand, record any unsaved content to retain, then reopen and review the complete configuration. Reopening cannot prevent later concurrent changes. If saving fails, times out or has an uncertain result, do not assume the configuration was not applied or immediately resubmit. Reload and check all saved settings; contact an administrator or technical support if the result remains uncertain.
    
4.  Recheck scopes, days, and backups. Enable **Enable automatic cleanup** as required and select **Save configuration**. Reopen and verify. Disable the switch and save to prevent new scheduled cleanup runs under this configuration. This does not restore deleted data or guarantee immediate interruption of a running task. Deletion of associated files already scheduled by an earlier cleanup may still continue or be retried; contact an administrator or support to confirm its status. Some system maintenance tasks run independently of this switch. Disabling this configuration does not stop all cleanup on the platform.
    
5.  After the next scheduled run, inspect the overall log result and error summary, then use business data to verify what happened in each scope. Saving does not establish that cleanup ran or every scope succeeded.
    

**Understand retention days and the cleanup cutoff:** For each run, the system calculates a cutoff by subtracting the scope’s retention days from the time obtained for that processing run, not simply from the original scheduled time or midnight. For example, if the calculation time is `2026-03-03 02:10` in `UTC+08:00` and retention is `30` days, the cutoff is `2026-02-01 02:10` in the same time zone. This illustrates the calculation and is not a default schedule. Each scope uses its own data timestamps and processing conditions; data before the cutoff may be cleaned. Delays, other cleanup mechanisms and failures can also affect results. This does not guarantee that data remains queryable for 30 days or is deleted immediately afterward.

**Authentication-event retention:** When platform data cleanup and the “Identity management event audit” scope are enabled, authentication events beyond that scope’s retention period may be deleted; the scope also includes other identity-management audit records. The page cannot recover deleted events and currently has no export action. Administrators should check the retention period against compliance requirements in advance and, if long-term retention is needed, ask technical support about available archiving methods and their completeness. Assess the impact on other records before changing the scope. See [Manage Applications and Access Scope](https://www.nsecsoft.com/en/docs/ping64-identity-access/iam/applications/manage-applications/).

**Retention of ordinary FileLink audit records:** When platform data cleanup and the “General event logs” scope are enabled, FileLink ordinary business-audit records beyond that scope’s retention period may be deleted. The scope also affects other logs. Searching or exporting cannot recover deleted records. Administrators should check the retention period against compliance requirements in advance and, when needed, export, archive and verify completeness before expiry under organizational procedures; also check the per-export limit. This does not imply the same retention rules for FileLink platform-user sign-ins or cleanup records. See [Review and Export FileLink Audit Records](https://www.nsecsoft.com/en/docs/ping64-file-collaboration/filelink/audit/review-audit-logs/).

**Zero Trust audit retention:** When platform data cleanup and the **Zero Trust events** scope are enabled and executed, expired network access, DNS, runtime and published-application access records may be cleaned. The four Zero Trust audit pages do not provide an export button. If long-term retention is required, confirm available archiving methods and their completeness with an administrator or support in advance. Queries cannot restore deleted records. See [Zero Trust audit logs](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/audit/view-audit-logs/).

**Backup history and data cleanup:** When the “General event logs” cleanup scope is enabled, completed backup-job history may be removed according to that scope’s retention period. This may affect subsequent backup scheduling decisions and automatic retention handling of older backup files; removing job history does not itself delete the corresponding backup files. Before making changes, assess the backup interval, retention count, compliance requirements and effects on other logs in the scope. Check backup files, storage capacity and recovery capability. See [Configure Data Backups and Review Backup Logs](https://www.nsecsoft.com/en/docs/ping64-platform/platform/operations/backup-and-logs/).

**Retention validation for disabled scopes:** When saving, retention days must be an integer within the permitted range even for a disabled scope. If the page reports an invalid value for a disabled scope, temporarily turn that scope on in the page, correct its days, and turn it off again; do not save while it is temporarily on. Before saving, check the final state of every scope and the automatic cleanup switch. Page changes do not become the new saved configuration until saved, but they do not affect processing that was already in effect or scheduled.

**Resetting the page configuration:** Selecting “Reset” reloads the saved configuration and, after a successful load, replaces unsaved page changes. If no configuration has been saved, the initial settings are reloaded and may use the browser time zone. Reset is not a factory reset and does not undo saved settings or cleanup already performed. Record changes that must be retained and follow the change process before deciding whether to save. After reloading, check every scope and switch. If loading fails, check the message, network and permissions; do not assume the reset completed.

## Review Cleanup Logs

1.  Open **Platform Logs** and then **Data Cleanup Logs**. This page differs from FileLink business audit cleanup records.
    
2.  Review scheduled, start and finish times, scopes, retention days, deletion counts, the overall result and error summary; paginate as needed. Do not treat **Partially succeeded** as complete success; use the error summary and business data to investigate affected scopes. After changing pages or the number of rows per page, the previous page may remain visible temporarily while loading. Wait for loading to finish and check the current page before reviewing records. If the query fails, investigate and retry; an empty list does not prove there were no events.
    
3.  For failure, skipped execution, or missing expected records, record the time and message; check enabled settings, scopes, time zone, and service status, then contact an administrator or support. Do not repeatedly change retention without investigation.
    

**Understand log scopes and counts:** The deletion counts in the list are totals across the scopes in that cleanup run, not per-scope counts. The page does not display an individual result for each scope. For a partial success, review the error summary and actual business data, and contact an administrator or support if needed to identify affected scopes. Do not infer that every scope was cleaned from the totals. The list may be cleared if logs fail to load; resolve the page error and retry rather than treating an empty list as proof that no cleanup records exist.

**Endpoint document backup retention:** If the **Document backup** scope is enabled, eligible backup records and associated backup files may be deleted, affecting later downloads or restores. **Document backup round history** is a separate scope; cleaning round records alone does not mean backup files were deleted. Before changing either, check its switch, retention and business requirements, protect required copies in an independent location, and verify recovery. See [Review and verify endpoint backups](https://www.nsecsoft.com/en/docs/ping64-endpoint-management/uem/backup-recovery/document-backup-restore/backups/).

## Troubleshooting

-   **Cannot open or save:** Check super-administrator status, platform-settings permissions, and the page message. Retention days must satisfy page validation even for disabled scopes.
-   **Unexpected execution time:** Check the configured time zone, daily time, and scheduled time in the log; displayed time can differ from the organization’s time zone.
-   **Data needed after deletion:** Follow the organization’s verified backup and recovery process. The cleanup switch or log cannot directly restore data.
