Can metric filter stats between different AWS regions be aggregated?
I have created a Cloudwatch Metric Filter for response latency We have regions in us-west-2 and us-east-2 and I have put separate Metric filters in each region's different Cloudwatch Log groups.
I want to be able to query and add all response latencies between both regions so I can calculate aggregate values like Averages.
How can I do this? Log Insights can't see different region Log Groups so I can't directly use this. I heard Metric Math may be able to. Is there a way?
You are looking for AWS CloudWatch Cross-account cross-Region dashboards (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_xaxr_dashboard.html). You need to enable the option first in CloudWatch settings, and then you will see the option to choose Account Id/Region in Metrics dashboard.
After adding different metrics, use CloudWatch math to aggregate values, ex: AVG, SUM.
Thanks. But the metrics are all "separate". You can choose for instance to "see" us-west-2 or us-east-2. But you can't combine them into one statistic (aggregate). Furthermore, you can't do this in Log Insight and choose two Log groups from two different regions so you can apply some queries to both to get aggregrate values --- like averages of two regions. I was wondering if you have been able to combine metrics from two regions into an average by a different means?
After adding both metrics, use CloudWatch math https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html you can use many functions available like AVG, SUM. Regarding log insights, i believe this feature is still not available, and you will need to aggregate the data for ex in S3 and use other services to search.
Creating an alarm out of log group's metric filter.asked 2 years ago
Failing CIS 3.3 even when metric filter existsasked 3 years ago
Sharing application catalog across regionsAccepted Answerasked 4 months ago
Why the LoginFailures metric showing no data for RDS MySQL instance?asked 3 years ago
Cloud watch metrics unavailable if not triggeredAccepted Answerasked 5 months ago
Can metric filter stats between different AWS regions be aggregated?asked a month ago
Can CloudWatch metric filters be created on logs in a different account?Accepted Answerasked 2 months ago
No value to graph for a metric filter which should match hundreds of lines based on pattern testAccepted Answerasked 2 months ago
Reboot an instance, with a Cloud Watch Alarms based on custom metricasked 2 years ago
Possible to editing alarm name and delete created metrics in Cloudwatchasked 14 days ago