Contact Us 1-800-596-4880

Audit Log Retention Period

Audit logs have a default retention period of one year. If your organization was created before July 10, 2023 and you did not manually change the retention period, the retention period is six years. Users who have Audit Log Config Manager and Organization Administrator permissions can configure the retention period for the audit logs in their organization.

Download your logs periodically if you want to maintain your log files for longer than six years. To check the audit log retention period for your organization, check the retention period in your root organization’s settings, or use the Audit Logging API.

When you configure a retention period:

  • You can specify a retention period between 30 and 2190 days.

  • The date the new retention period takes effect must be a minimum of seven days from the current date.

  • Configuring a new retention period affects your organization’s compliance policy.

Before You Begin

Before getting started, ensure that you have an account that has the following permissions:

  • Audit log config manager

  • Organization administrator (required only if you are using the user interface to set retention. You do not need this permission if you are using the API.)

Your organization must also have Try new features or the Teams feature enabled in Access Management.

Configure Audit Log Retention Period

  1. Log in to Anypoint Platform using an account that has the Organization Administrator and Audit Log Config Manager permissions.

  2. In the navigation bar or the main Anypoint Platform page, click Access Management.

  3. In the Business Groups menu, select your root organization.

  4. Click the Settings tab.

  5. Next to Audit Log Retention Period, click the pencil icon.

  6. In the Days field, enter a value between 30 and 2190.

  7. In the Date Effective field, select the date on which you want the new retention period to start.

  8. Click Save Changes.
    A warning appears, confirming your new retention period and effective date.

  9. Click Confirm.
    The new audit log retention period takes effect on the date you specified at 0:0:00 UTC.