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
posta 2 mesi fa792 visualizzazioni
2 Risposte
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
ESPERTO
Artem
con risposta 2 mesi fa
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
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande