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,160 points
2,181 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
• 56,960 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,280 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,160 points

Related Questions In AWS

+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,280 points
293 views
+1 vote
2 answers

AWS WAF - Auto Save Web Application Firewall logs in S3.

You can do this through the console ...READ MORE

answered Jul 13, 2018 in AWS by Priyaj
• 56,960 points
357 views
0 votes
1 answer
0 votes
1 answer

AWS EFS vs EBS vs S3 (differences & when to use?)

Parameters S3 EBS EFS Access Can be accessed publicly  Accessed only through given ...READ MORE

answered Aug 8, 2018 in AWS by ArchanaNagur
• 2,270 points
213 views
0 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
• 56,960 points
252 views
+13 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,380 points
245 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
• 56,960 points
1,660 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
• 56,960 points
75 views