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
demandé il y a 2 mois794 vues
2 réponses
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
EXPERT
Artem
répondu il y a 2 mois
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
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions