Back to results for “Monitoring”
AWS › AWS CloudTrail & Auditing

What is the difference between CloudTrail Event history and a CloudTrail trail?

Beginner

Answer

CloudTrail Event history provides a free, ninety day rolling view of management events directly in the console without any setup required, while creating a CloudTrail trail lets you deliver log files continuously to an S3 bucket for long term storage beyond ninety days, optionally send events to CloudWatch Logs for real time monitoring and alerting, and capture additional event types such as data events for services like S3 object level activity.
aws cloudtrail create-trail --name my-trail --s3-bucket-name my-cloudtrail-logs
Real-world example A company relying only on the default ninety day Event history realizes it cannot investigate an incident from six months ago, prompting them to set up a proper CloudTrail trail with long term S3 storage going forward.

Common follow-ups: What are management events versus data events in CloudTrail?;How do you ensure CloudTrail logs are protected from tampering?