Working with CloudTrail
CloudTrail is enabled by default for your AWS account. You can use Event history in the CloudTrail console to view, search, download, archive, analyze, and respond to account activity across your AWS infrastructure. This includes activity made through the AWS Management Console, AWS Command Line Interface, and AWS SDKs and APIs.
For an ongoing record of events in your AWS account, create a trail. A trail enables CloudTrail to deliver log files to an Amazon S3 bucket. By default, when you create a trail in the console, the trail applies to all AWS Regions. The trail logs events from all Regions in the AWS partition and delivers the log files to the Amazon S3 bucket that you specify. Additionally, you can configure other AWS services to further analyze and act upon the event data collected in CloudTrail logs.
If you have created an organization in AWS Organizations, you can create a trail that will log all events for all AWS accounts in that organization. Creating an organization trail helps you define a uniform event logging strategy for your organization.
Topics
- Viewing events with CloudTrail Event history
- Viewing CloudTrail Insights events
- Creating a trail for your AWS account
- Creating a trail for an organization
- Copying trail events to CloudTrail Lake
- Getting and viewing your CloudTrail log files
- Configuring Amazon SNS notifications for CloudTrail
- Controlling user permissions for CloudTrail
- Tips for managing trails
- Using AWS CloudTrail with interface VPC endpoints
- Viewing service-linked channels for CloudTrail by using the AWS CLI