Adding data retention policy

You can add a data retention policy to archive or delete resources in Measure based on defined scope and retention rules.

You must have the product administrator role. For more information about the roles, see Roles and permissions.
  1. On the Home page, click the Settings icon.
  2. On the Settings page, select Policies > Data retention policy.
  3. Click Add policy.
  4. Enter the following details in the given fields:
    • Name: Add the name of the data retention policy.
    • Description: Add the description about the policy.
    • Retention days: Add the number of days for data retention.
  5. Select Mode from the drop-down list:
    • Archive: The resource data is removed from the active user interface, so it stops cluttering your daily view.
    • Delete: The resource data is removed from the system.
  6. Select Resource type, Version, from the drop-down list.
    Note: Currently, only the Version resource type is supported.
  7. Select Scope from the drop-down list:
    • Global: This policy scope is applied to all resources across all users.
    • Team: This policy scope is applied to only selected teams.
    • Application: This policy scope is applied to only selected applications.
  8. Click Create policy.
    The data retention policy is created as is in a disabled state, which is the default state. To enable the policy, follow the steps:
    1. Select the toggle button under the Disable / Enable field.
    2. Review the impacted policy records preview.
    3. Enter the policy name again to confirm enable, and then click Confirm.
    The policy is enabled and completed. The policy is scheduled to run every 24-hour interval.
You have added the data retention policy.
Click the icon to expand and view the following details about the data retention policy:
  • Policy ID
  • Resource
  • Scope
  • Mode
  • Last execution detail
  • Executed by
  • Affected count
  • Cutoff time