Contact Us 1-800-596-4880

Configure Audit Log Retention in Anypoint Platform

Control how long audit logs are kept to meet compliance and storage requirements. New organizations default to one year. Organizations created before July 10, 2023, default to six years unless changed. Users with Audit Log Config Manager and Organization Administrator permissions can configure retention in Access Management.

Download your logs periodically to maintain your log files for longer than six years. To find your organization’s audit log retention period, view the retention setting 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, make sure your account has these permissions:

  • Audit Log Config Manager

  • Organization Administrator (required only if you’re using the user interface to set retention. You don’t need this permission if you’re using the API.)

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

Configure Audit Log Retention Period

Set the number of retention days for the audit log and schedule the date it takes effect.

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

  2. Select Access Management from the gear icon menu.

  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 to start the new retention period on.

  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 00:00:00 UTC.