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
gefragt vor 2 Monaten794 Aufrufe
2 Antworten
1

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
EXPERTE
Artem
beantwortet vor 2 Monaten
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
beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen