How to replicate the cloudwatch logs from one region to other region

0

How to move all of my cloudwatch log groups from one region to another region within the same account

Rajaram
已提问 4 个月前984 查看次数
2 回答
2

You could maybe do this by creating a subscription filter with a Lambda function to push the logs from each log group in one region to the other, but this would increase the costs for CloudWatch.

profile picture
专家
Artem
已回答 4 个月前
profile picture
专家
已审核 2 个月前
1

What is the purpose of copying/moving CW logs to another region? Do you need it one time or on recurring basis? There are multiple options. Which one is better depends on your use case details. At a minimum, I assume you're not looking for cross-region access, rather you want to physically transfer logs to another region.

Not knowing use case details, you could consider 1/ exporting CW logs to S3 bucket in another region: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3Export.html 2/ subscriptions https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Subscriptions.html

Val
已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则