Retention Update per Repository
Determine when the retention settings were updated for a single repository
Query
type = "dataspace.retention" repoName=<REPO_NAME>
Introduction
It is possible to create a retention policy that just retains content without deleting, retains and then deletes after a specified period of time, or just deletes content after a specified period of time. The audit log event dataspace.retention records operations for data retention. This audit log type is used to determine when retention was updated for a repository.
Step-by-Step
Starting with the source repository events.
- flowchart LR; %%{init: {"flowchart": {"defaultRenderer": "elk"}} }%% repo{{Events}} 0[/Filter/] result{{Result Set}} repo --> 0 0 --> result style 0 fill:#ff0000,stroke-width:4px,stroke:#000;logscale
type = "dataspace.retention" repoName=<REPO_NAME>
Filters for the audit log type dataspace.retention in a given repository.
Event Result set.
Summary and Results
The query is used to determine when retention settings were last updated for a repository. Data retention is useful as it focuses on preserving data during a specific period of time in order to meet particular business or legal requirements.