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,260 points
3,600 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
• 57,700 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,650 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,260 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 in AWS by MD
• 67,760 points
103 views
+1 vote
2 answers

Want my AWS s3 Bucket to read Name from CloudWatch Event

CloudTrail events for S3 bucket level operations ...READ MORE

answered May 28, 2018 in AWS by Cloud gunner
• 4,650 points
743 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
• 57,700 points
855 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
740 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
• 57,700 points
3,000 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
• 57,700 points
243 views