Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

What's the difference between the AWS S3 logs and the AWS Cloudtrail? In the docs of cloud trail I saw this:

CloudTrail adds another dimension to the monitoring capabilities already offered by AWS. It does not change or replace logging features you might already be using.

1 Answer

0 votes
by (44.4k points)
edited by

AWS CloudTrail is a web service which tracks API usage of your AWS account. To login into your AWS Management Console, it calls a signin API. Even that will be recorded in CloudTrail. These recorded logs are JSON files and they will be stored in an S3 bucket.

You can create your own trails which only monitor a set of APIs or a specific bucket. 5 trails are allowed per region. 

The definition you have provided from the documentation means; if you have already enabled any logging capabilities of AWS services, enabling CloudTrail will not modify it in any way. You can also set up Data Event trails which basically track data event API calls like Putobject, getobject or deleteobject.

Want to learn more about AWS, and become a master by enrolling for Intellipaat's AWS Certification Training!

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
asked Feb 8, 2020 in AWS by Amenda (1.4k points)

Browse Categories

...