# How long does each cloud keep audit logs by default?

URL: https://multicloudsecuritysolutions.com/audit-log-defaults/
Updated: 2026-11-21

AWS event history, the Azure activity log and Alibaba Cloud ActionTrail keep 90 days of management events, Google Cloud 30 days in its _Default bucket (400 for Admin Activity and System Event logs), and OCI Audit 365. Data-store reads and writes need a switch on every cloud, except BigQuery Data Access logs on Google Cloud.

## Retention checker

Enter the days of audit history you must keep. The checker compares it with each default in the table that follows and names the clouds that fall short; it uses the same figures as the table and stores nothing.

Days of audit history you need

On this page

- [How long are audit events kept by default?](#retention)
- [Which clouds log reads and writes inside data stores by default?](#data-events)
- [What does one audit trail cover?](#scope)
- [Where can each cloud send its audit logs?](#routes)
- [What should I set on purpose?](#set-first)

## How long are audit events kept by default?

Four figures across five clouds: 90 days on AWS, Azure and Alibaba Cloud, 30 days on Google Cloud (400 for Admin Activity and System Event logs) and 365 days on OCI, where the period cannot be changed. A 90-day assumption overstates the Google Cloud _Default bucket, which keeps 30 days and holds Data Access logs once they are on; OCI and the Google Cloud _Required bucket keep longer. The [service equivalents](/native-security-equivalents/) page names each service.

**Default audit log retention by cloud, in days**

| Cloud | Default (days) | What the documentation says | Source |
|---|---|---|---|
| AWS | 90 | Event history keeps the past 90 days of management events; longer needs a trail or event data store. | [AWS: view-cloudtrail-events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html) |
| Azure | 90 | The activity log keeps events for 90 days; longer retention needs a diagnostic setting to Log Analytics (retention extendable to 12 years there), Storage or Event Hubs. | [Microsoft: activity-log](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log) |
| Google Cloud | 30 (400) | The _Required log bucket (Admin Activity and System Event audit logs) keeps 400 days and is not configurable; the _Default bucket keeps 30 days; a project's _Default bucket can be set from 1 to 3650 days, a folder or organization _Default bucket cannot. | [Google Cloud: quotas](https://docs.cloud.google.com/logging/quotas) |
| Oracle Cloud (OCI) | 365 (fixed) | Audit logs are retained for 365 days, and the retention period cannot be changed. | [Oracle: settingretentionperiod](https://docs.oracle.com/en-us/iaas/Content/Audit/Tasks/settingretentionperiod.htm) |
| Alibaba Cloud | 90 | ActionTrail stores management events for the last 90 days per account; longer needs a trail. | [Alibaba Cloud: create-a-single-account-trail](https://www.alibabacloud.com/help/en/actiontrail/user-guide/create-a-single-account-trail) |

## Which clouds log reads and writes inside data stores by default?

Only one case is on by default: Google Cloud BigQuery Data Access logs ([Google Cloud audit logging](https://docs.cloud.google.com/logging/docs/audit)). AWS, Azure, Google Cloud for everything else, and Alibaba Cloud leave data-plane logging off until someone turns it on, with four different switches: a trail event selector, a diagnostic setting, a Data Access audit config and a data event trail. OCI Audit records API calls to supported endpoints but leaves out object-level Object Storage events; those come from Object Storage read and write service logs in OCI Logging, a fifth switch.

| Cloud | What the documentation says | Source |
|---|---|---|
| AWS | By default trails and event data stores do not log data events; additional charges apply. | [AWS: logging-data-events-with-cloudtrail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) |
| Azure | Resource logs, which capture data plane operations such as reading a key vault secret, are not collected by default and need a diagnostic setting. | [Microsoft: activity-log](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log) |
| Google Cloud | Except for BigQuery, Data Access audit logs are disabled by default. | [Google Cloud: audit](https://docs.cloud.google.com/logging/docs/audit) |
| Oracle Cloud (OCI) | Audit records API calls to all supported public endpoints; Object Storage logs bucket-related events but not object-related events; object reads and writes are recorded by turning on the Object Storage read and write service logs in OCI Logging, which Oracle says are delivered on a best effort basis. | [Oracle: auditoverview](https://docs.oracle.com/en-us/iaas/Content/Audit/Concepts/auditoverview.htm), [Oracle: details_for_object_storage](https://docs.oracle.com/en-us/iaas/Content/Logging/Reference/details_for_object_storage.htm) |
| Alibaba Cloud | ActionTrail does not collect or store data events by default; a data event trail is needed. | [Alibaba Cloud: what-is-actiontrail](https://www.alibabacloud.com/help/en/actiontrail/product-overview/what-is-actiontrail) |

## What does one audit trail cover?

It depends on each cloud's unit of collection. AWS needs a multi-Region or organization trail to avoid per-Region gaps. Azure needs a subscription-level diagnostic setting as well as a management-group one, since some subscription events never reach the management group. Google Cloud needs an aggregated sink at the folder or organization to collect every project. Alibaba Cloud needs a multi-account trail to cover a resource directory. OCI needs no trail: Audit records calls to every supported endpoint, and its retention setting applies to the whole tenancy.

| Cloud | What the documentation says | Source |
|---|---|---|
| AWS | CloudTrail trails can be single-Region or multi-Region; an organization trail logs events for the management account and all member accounts. | [AWS: cloudtrail-concepts](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html) |
| Azure | Subscription is the default scope; tenant and management group level views capture only Azure Resource Manager events. Subscription-level events without a hierarchy property do not reach a management-group diagnostic setting, even at the root. | [Microsoft: activity-log](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log) |
| Google Cloud | Audit logs are stored per project, folder and organization, each with its own _Required and _Default buckets; an aggregated sink at a folder or organization routes entries from all child resources to one destination. | [Google Cloud: quotas](https://docs.cloud.google.com/logging/quotas), [Google Cloud: aggregated_sinks](https://docs.cloud.google.com/logging/docs/export/aggregated_sinks) |
| Oracle Cloud (OCI) | Audit automatically records calls to all supported public API endpoints, with no trail to create; retention is tenancy-wide, across all regions and compartments. | [Oracle: auditoverview](https://docs.oracle.com/en-us/iaas/Content/Audit/Concepts/auditoverview.htm), [Oracle: settingretentionperiod](https://docs.oracle.com/en-us/iaas/Content/Audit/Tasks/settingretentionperiod.htm) |
| Alibaba Cloud | A single-account trail has a home region; a multi-account trail delivers events from all members of a resource directory. | [Alibaba Cloud: create-a-multi-account-trail](https://www.alibabacloud.com/help/en/actiontrail/user-guide/create-a-multi-account-trail) |

## Where can each cloud send its audit logs?

Each cloud names its own route out: an organization trail with Amazon Security Lake on AWS, diagnostic settings on Azure, log sinks on Google Cloud, Connector Hub on OCI, and trails that deliver to Simple Log Service, Object Storage Service or MaxCompute on Alibaba Cloud.

**Documented routes for sending audit logs out**

| Cloud | Route out | Source |
|---|---|---|
| AWS | CloudTrail organization trails log the management account and all member accounts; Amazon Security Lake normalizes AWS and third-party security data to OCSF in a data lake. | [AWS: creating-trail-organization](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-trail-organization.html), [AWS: what-is-security-lake](https://docs.aws.amazon.com/security-lake/latest/userguide/what-is-security-lake.html) |
| Azure | Diagnostic settings send the activity log to a Log Analytics workspace, Event Hubs (to send entries outside Azure, for example to a third-party SIEM), Storage or an Azure Monitor partner solution; no more than one destination of each type per setting. | [Microsoft: diagnostic-settings](https://learn.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings) |
| Google Cloud | Log sinks route logs to Cloud Storage, BigQuery or Pub/Sub; Pub/Sub supports exporting to third-party tools such as Splunk or Datadog. | [Google Cloud: configure_export_v2](https://docs.cloud.google.com/logging/docs/export/configure_export_v2) |
| Oracle Cloud (OCI) | Connector Hub moves data from a Logging source to Functions, Log Analytics, Monitoring, Notifications, Object Storage or Streaming. | [Oracle: overview](https://docs.oracle.com/en-us/iaas/Content/connector-hub/overview.htm) |
| Alibaba Cloud | Trails deliver events to Simple Log Service, Object Storage Service or MaxCompute; a multi-account trail covers a resource directory. | [Alibaba Cloud: create-a-single-account-trail](https://www.alibabacloud.com/help/en/actiontrail/user-guide/create-a-single-account-trail), [Alibaba Cloud: create-a-multi-account-trail](https://www.alibabacloud.com/help/en/actiontrail/user-guide/create-a-multi-account-trail) |

## What should I set on purpose?

This is an inference from the cited defaults, not guidance a provider publishes. Write down the retention each contract or regulation needs, compare it with the first table for every cloud, turn on the data-event switch where reads and writes matter, and send each cloud's audit logs out by its own route in the table above (an organization trail, a diagnostic setting, an aggregated sink, a Connector Hub connector, a multi-account trail) to one destination your team reads, so the five record sets can be searched together. Each of the ten pair playbooks, such as [AWS and Azure](/aws-and-azure/), applies it pair by pair; see [cloud pair playbooks](/cloud-pair-playbooks/).

## Sources

- [Alibaba Cloud: alibabacloud.com/help/en/actiontrail/product-overview/what-is-actiontrail](https://www.alibabacloud.com/help/en/actiontrail/product-overview/what-is-actiontrail) read 20 Nov 2026
- [Alibaba Cloud: alibabacloud.com/help/en/actiontrail/user-guide/create-a-multi-account-trail](https://www.alibabacloud.com/help/en/actiontrail/user-guide/create-a-multi-account-trail) read 20 Nov 2026
- [Alibaba Cloud: alibabacloud.com/help/en/actiontrail/user-guide/create-a-single-account-trail](https://www.alibabacloud.com/help/en/actiontrail/user-guide/create-a-single-account-trail) read 21 Nov 2026
- [AWS: docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html) read 20 Nov 2026
- [AWS: docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-trail-organization.html](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-trail-organization.html) read 20 Nov 2026
- [AWS: docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) read 20 Nov 2026
- [AWS: docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html) read 20 Nov 2026
- [AWS: docs.aws.amazon.com/security-lake/latest/userguide/what-is-security-lake.html](https://docs.aws.amazon.com/security-lake/latest/userguide/what-is-security-lake.html) read 21 Nov 2026
- [Google Cloud: docs.cloud.google.com/logging/docs/audit](https://docs.cloud.google.com/logging/docs/audit) read 20 Nov 2026
- [Google Cloud: docs.cloud.google.com/logging/docs/export/aggregated_sinks](https://docs.cloud.google.com/logging/docs/export/aggregated_sinks) read 21 Nov 2026
- [Google Cloud: docs.cloud.google.com/logging/docs/export/configure_export_v2](https://docs.cloud.google.com/logging/docs/export/configure_export_v2) read 20 Nov 2026
- [Google Cloud: docs.cloud.google.com/logging/quotas](https://docs.cloud.google.com/logging/quotas) read 21 Nov 2026
- [Microsoft: learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log) read 20 Nov 2026
- [Microsoft: learn.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings](https://learn.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings) read 21 Nov 2026
- [Oracle: docs.oracle.com/en-us/iaas/Content/Audit/Concepts/auditoverview.htm](https://docs.oracle.com/en-us/iaas/Content/Audit/Concepts/auditoverview.htm) read 21 Nov 2026
- [Oracle: docs.oracle.com/en-us/iaas/Content/Audit/Tasks/settingretentionperiod.htm](https://docs.oracle.com/en-us/iaas/Content/Audit/Tasks/settingretentionperiod.htm) read 20 Nov 2026
- [Oracle: docs.oracle.com/en-us/iaas/Content/connector-hub/overview.htm](https://docs.oracle.com/en-us/iaas/Content/connector-hub/overview.htm) read 20 Nov 2026
- [Oracle: docs.oracle.com/en-us/iaas/Content/Logging/Reference/details_for_object_storage.htm](https://docs.oracle.com/en-us/iaas/Content/Logging/Reference/details_for_object_storage.htm) read 21 Nov 2026

Last reviewed 21 Nov 2026
