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
preguntada hace 2 meses792 visualizaciones
2 Respuestas
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
EXPERTO
Artem
respondido hace 2 meses
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
respondido hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas