Which is better AWS S3 bucket logs vs AWS cloudtrail

+1 vote
What's the difference between the AWS S3 logs and the AWS Cloudtrail? In the docs of cloudrail 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.
Apr 17, 2018 in AWS by Flying geek
• 3,280 points
6,712 views

3 answers to this question.

0 votes
Best answer
CloudTrail logs API calls accessed to your AWS Account. These CloudTrail logs are stored in Amazon S3 Bucket.

The two offer different services.

The Definition you have shared from CloudTrail Doc: 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.

It means you might have already activated some of the other logging features offered in other AWS services like ELB logging etc.. But when you enable CloudTrail monitoring, you need not worry about your previous logging functionalities as they will be still active. You will receive logs from all the services. So By Enabling CloudTrail logging, It does not change or replace logging features you might already be using.

Hope it Helps.. :)
answered Aug 16, 2018 by Priyaj
• 58,090 points

selected Aug 22, 2018 by Priyaj
0 votes

CloudTrail tracks the API access for some infrastructure-changing events, in S3 it means creating, deleting, and modifying bucket ( see this in  S3 CloudTrail docs). It is an API method oriented that helps in modifying buckets.
S3 Server Access Logging provides web server-style logging of access to the objects in an S3 bucket. This type of logging is gritty to the object, which includes read-only operations and includes only non-API access like static web site browsing.

answered Apr 17, 2018 by Cloud gunner
• 4,670 points
0 votes

I've dealt with same case several times:
Try to use .withRegion(..) and make sure you do not use .withEndpointConfiguration(...). Perhaps, you are using incorrect endpoint definition.

answered Apr 17, 2018 by Flying geek
• 3,280 points

Related Questions In AWS

+1 vote
1 answer

How to forward S3 bucket logs to CloudTrail?

Hi@akhtar, To forward S3 bucket logs to CloudTrail, ...READ MORE

answered Jun 3, 2020 in AWS by MD
• 95,440 points
555 views
0 votes
0 answers

what is s3 bucket in aws

Jan 5 in AWS by Priyanka
• 700 points
121 views
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,467 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,503 views
+1 vote
3 answers

How to get ARN for s3 Bucket using aws cli .

An ARN is a non-opaque, constructible identifier, ...READ MORE

answered Aug 16, 2018 in AWS by Priyaj
• 58,090 points
5,041 views
0 votes
1 answer

Which cloud hosting is best ( AWS or Azure or Google)

Hello @Hammer, This totally depends on your needs, ...READ MORE

answered Aug 10, 2018 in AWS by Priyaj
• 58,090 points
740 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP