Can metric filter stats between different AWS regions be aggregated?

0

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?

1개 답변
1

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.

AWS
Ramy_Z
답변함 2년 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠