DevOps > AWS 1 second ago

Is it possible to export cloud watch logs to S3 ? If yes then how can we do it?

Is it possible to export cloud watch logs to S3 ? If yes then how can we do it?

339 views . 1 answers . 0 likes . 0 shares Deepthi Vijaya Kulal 1 answers

profilepic.png

Answers (1)


profilepic.png
PR Reddy Best Answer 2 years ago

Yes, Application log data that resides in the Cloudwatch log group can be exported to  S3 bucket. Detailed steps to exports the logs to s3 can be found here.

In a nutshell, below are the limitations to export the log data to S3.

  1. Amazon S3 bucket must reside in the same Region as the log data to export.
  2. Exporting log data to Amazon S3 buckets that are encrypted by AWS KMS is not supported.
  3. Bucket Policy must be added  with AmazonS3FullAccess and CloudWatchLogsFullAccess.
339 views . 0 shares