Quotas in AWS CloudTrail
This section describes the resource quotas (formerly referred to as limits) in CloudTrail. For information about all quotas in CloudTrail, see Service quotas in the AWS General Reference.
Note
CloudTrail has no adjustable quotas.
CloudTrail resource quotas
The following table describes the resource quotas within CloudTrail.
| Resource | Default quota | Comments |
|---|---|---|
| Trails per Region | 5 |
The maximum number of trails per AWS Region. In shadow Regions, to get latest resource count metric, call the This quota cannot be increased. |
| Event selectors | 5 per trail | This quota cannot be increased. |
| Advanced event selectors | 500 conditions across all advanced event selectors |
This quota cannot be increased. |
| Data resources in event selectors | 250 across all event selectors in a trail | If you choose to limit data events by using event selectors,
the total number of data resources cannot exceed 250 across all event selectors in a trail.
The limit of number of resources on an individual event selector is configurable up to 250.
This upper limit is allowed only if the total number of data resources does not exceed 250
across all event selectors. Examples:
Event selectors apply only to trails. For event data stores, you must use advanced event selectors. This quota cannot be increased. The quota does not apply if you choose to log data events on all resources, such as all S3 buckets or all Lambda functions. |
| Event size |
All event versions: events over 256 KB cannot be sent to CloudWatch Logs Event version 1.05 and newer: total event size limit of 256 KB |
Amazon CloudWatch Logs and Amazon EventBridge each allow a maximum event size of 256 KB. CloudTrail does not send events over 256 KB to CloudWatch Logs or EventBridge. Starting with event version 1.05, events have a maximum size of 256 KB. This is to help prevent exploitation by malicious actors, and allow events to be consumed by other AWS services, such as CloudWatch Logs and EventBridge. |
| CloudTrail file size sent to Amazon S3 |
50 MB before compression |
For management, data, and network activity events, CloudTrail sends events to S3 in compressed gzip files. The maximum file size before compression is 50 MB. If enabled on the trail, log delivery notifications are sent by Amazon SNS after CloudTrail sends gzip files to S3. |
Transactions per second (TPS) quotas in CloudTrail
The AWS General Reference lists the transactions per second (TPS) quota for AWS APIs.
The transactions per second (TPS) quota for an API represents how many requests you can make per second for a given API
without being throttled. For example, the TPS quota for the CloudTrail LookupEvents API is 2.
For information about the TPS quota for each CloudTrail API, see Service quotas in the AWS General Reference.