S3 server access logs to Cloudwatch?


Is there a way to get S3 access logs into CloudWatch?

asked 5 years ago1021 views
1 Answer
Accepted Answer

S3 Data Events can be enabled and delivered to CloudTrail, which in turn can be delivered to CloudWatch Logs. There is a cost implication with Data Events, but you can enable this on a per-bucket basis.

This is a different file format to Access Logs, but similar (and additional) information is captured:

https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudtrail-logging.html https://docs.aws.amazon.com/awscloudtrail/latest/userguide/send-cloudtrail-events-to-cloudwatch-logs.html

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions