CloudTrail Event Types and Trails
coreintermediateCloudTrail records every API call made in your account. Management events cover control-plane actions like creating a role or a subnet; data events cover high-volume resource-level actions like reading an S3 object. Event history keeps 90 days of management events automatically, no setup needed. A trail is what you create to keep events longer, choose which event types to log, and deliver them to an S3 bucket you control.
Think of it as
Event history is a free 90-day rear-view mirror that AWS keeps running by default — useful, but it forgets. A trail is a dashcam you set up yourself: you choose what it records and where the footage goes, and it keeps recording as long as you want.
What we're doing: See why a security investigation into an S3 object deleted 4 months ago finds nothing without a trail.
- 1
- Nothing about a fresh AWS account logs S3 object-level activity automatically — that requires a trail with data events explicitly enabled.
- 4
- Two separate gaps stack here: the 90-day window (even if it were a management event) and data events being opt-in and billed separately from management events.
Why this works: Event history's 90-day window and management-events-only scope make it useful for a quick "what changed this week" check, but it is not a substitute for a trail — an investigation that needs S3 object-level history or anything older than 90 days finds nothing without one.
Assuming CloudTrail logs everything by default, so no trail is needed
Wrong
Better
What you see: A "what happened" question about an event more than 90 days old, or about S3/Lambda-level activity, returns nothing — the record needed for the investigation was never retained anywhere.
Why: Event history is a convenience view CloudTrail keeps running regardless of configuration, but it is bounded to 90 days and management events only — a trail is the only way to get durable retention and data-event coverage, and it does not exist until someone creates one.
- Event history
- On by default, no setup
- Management events only, 90 days per Region
- Viewed in the console or via lookup-events
- Trail
- You create it and choose an S3 bucket
- Any event type, retained as long as you keep the logs
- Can also stream to CloudWatch Logs / EventBridge
Remember: Management events (control plane) are logged by default; data events (S3 object-level, Lambda Invoke) are off by default and billed extra. Event history is a free 90-day management-events view with no setup. A trail is what you create for durable retention, data-event coverage, and delivery to S3/CloudWatch Logs/EventBridge.
See also: centralizing and protecting audit logs · answering who changed what with cloudtrail

