1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
Yes, it is possible to export logs from CloudWatch Logs to S3.
If you want to do it manually, you can follow the steps in the document below.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3ExportTasksConsole.html
If you want to do it automatically, you can set up a subscription filter and KinesisDataFirehose in CloudWatch Logs.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html
Alternatively, you can automatically send logs to S3 by using the EventBridge Scheduler and executing the API "CreateExportTask".
https://docs.aws.amazon.com/scheduler/latest/UserGuide/what-is-scheduler.html
Relevant content
- Accepted Answerasked 9 months ago
- asked 9 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago