Use the Retention option to automate and simplify the deletion of audit data as per your requirement.
Before you begin
Role required: security_admin
Procedure
-
Navigate to .
-
Select the table from the list you want to update the retention policy.
Note: By default, you land on the Columns tab at the end of this step.
-
Select the Retention tab to update the retention policy for the selected table audit data.
A modal showing the retention option shows up.
-
Enable the Automatically Purge Audit Records toggle.
-
Select the duration from the Duration dropdown menu.
Select
Yes if you want to proceed with the selected duration. You can also select
Cancel if you want to select a different duration.
Note: Logs older than your set duration
will be purged and can't be restored.
The Retention Policy modal shows up confirming the selected duration.
-
Select Generate Estimate to view the approximate number of audit records that are older than your selected duration.
-
Select Save to update the retention policy for the selected table.
- Optional:
To disable deletion of Audit records of a table, disable the Automatically Purge Audit Records toggle and select Save.
Note: The audit records that were previously deleted due to the selected retention duration are permanently unavailable.