# Cloudwatch

**URL:** https://community.grafana.com/c/support/cloudwatch/56.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [About the Cloudwatch category](https://community.grafana.com/t/about-the-cloudwatch-category/65119)

<div class="topic-metadata">

**Author:** [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Replies:** 0\
**Last updated:** [May 3, 2022, 11:22pm UTC](https://community.grafana.com/t/about-the-cloudwatch-category/65119 "2022-05-03T23:22:22Z")

</div>

Documentation about: AWS Cloudwatch Data source: Additional reference documentation by AWS:

---

## [AWS CloudWatch Metrics alert rule - Alert on any error except from exclusion list](https://community.grafana.com/t/aws-cloudwatch-metrics-alert-rule-alert-on-any-error-except-from-exclusion-list/161976)

<div class="topic-metadata">

**Author:** [@titanian229](https://community.grafana.com/u/titanian229)\
**Replies:** 1\
**Last updated:** [March 27, 2026, 9:55am UTC](https://community.grafana.com/t/aws-cloudwatch-metrics-alert-rule-alert-on-any-error-except-from-exclusion-list/161976 "2026-03-27T09:55:12Z")

</div>

What Grafana version and what operating system are you using? Version 10 What are you trying to achieve? Using a single Grafana alert rule to capture errors \> 0 for any function in my AWS account with an exception…

---

## [AWS CloudWatch Metrics alert rule - Multiple FunctionNames for single alert](https://community.grafana.com/t/aws-cloudwatch-metrics-alert-rule-multiple-functionnames-for-single-alert/160855)

<div class="topic-metadata">

**Author:** [@titanian229](https://community.grafana.com/u/titanian229)\
**Replies:** 1\
**Last updated:** [January 8, 2026, 8:04pm UTC](https://community.grafana.com/t/aws-cloudwatch-metrics-alert-rule-multiple-functionnames-for-single-alert/160855 "2026-01-08T20:04:34Z")

</div>

What Grafana version and what operating system are you using? Version 10 What are you trying to achieve? Using a single Grafana alert rule to capture errors \> 0 for a list of FunctionNames rather than a single ale…

---

## [CloudWatch uptime in Grafana: NoData as downtime, but ignore period before target group existed](https://community.grafana.com/t/cloudwatch-uptime-in-grafana-nodata-as-downtime-but-ignore-period-before-target-group-existed/160699)

<div class="topic-metadata">

**Author:** [@devpetuhovegor](https://community.grafana.com/u/devpetuhovegor)\
**Replies:** 0\
**Last updated:** [January 2, 2026, 1:51pm UTC](https://community.grafana.com/t/cloudwatch-uptime-in-grafana-nodata-as-downtime-but-ignore-period-before-target-group-existed/160699 "2026-01-02T13:51:49Z")

</div>

Hi, I’m calculating uptime for AWS ALB Target Groups in Grafana using CloudWatch. My logic is: NoData after the target group exists → downtime (this is intentional and required for SLA) Example query: FILL( SEARC…

---

## [Is it possible to query CloudWatch Global Accelerator Listener metrics by Port instead of Listener ID?](https://community.grafana.com/t/is-it-possible-to-query-cloudwatch-global-accelerator-listener-metrics-by-port-instead-of-listener-id/159467)

<div class="topic-metadata">

**Author:** [@wang985012](https://community.grafana.com/u/wang985012)\
**Replies:** 0\
**Last updated:** [November 17, 2025, 7:21pm UTC](https://community.grafana.com/t/is-it-possible-to-query-cloudwatch-global-accelerator-listener-metrics-by-port-instead-of-listener-id/159467 "2025-11-17T19:21:49Z")

</div>

Hi everyone, I’m using the AWS CloudWatch datasource in Grafana to monitor Global Accelerator, and I encountered an issue I’m hoping to get clarification on. When querying Global Accelerator Listener metrics in CloudWat…

---

## [Add cloudwatch logs to drill down](https://community.grafana.com/t/add-cloudwatch-logs-to-drill-down/156076)

<div class="topic-metadata">

**Author:** [@annaliseplatforms](https://community.grafana.com/u/annaliseplatforms)\
**Replies:** 3\
**Last updated:** [August 13, 2025, 7:09am UTC](https://community.grafana.com/t/add-cloudwatch-logs-to-drill-down/156076 "2025-08-13T07:09:09Z")

</div>

What Grafana version and what operating system are you using? Grafana cloud What are you trying to achieve? I’ve set up a cloudwatch data source and can query the logs just fine using the explore console. Howeve…

---

## [AWS Cloudwatch Alarms to Grafana](https://community.grafana.com/t/aws-cloudwatch-alarms-to-grafana/155853)

<div class="topic-metadata">

**Author:** [@oyi](https://community.grafana.com/u/oyi)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 1:26pm UTC](https://community.grafana.com/t/aws-cloudwatch-alarms-to-grafana/155853 "2025-08-07T13:26:38Z")

</div>

Hi, I am trying to import Cloudwatch alarms in to Grafana similar to the the image below. I am able to setup the colored stat graphs at the top. However the tabular data below is still fustrating me. To provide a con…

---

## [Unable to sort logs by created date](https://community.grafana.com/t/unable-to-sort-logs-by-created-date/155217)

<div class="topic-metadata">

**Author:** [@pajohns](https://community.grafana.com/u/pajohns)\
**Replies:** 3\
**Last updated:** [July 29, 2025, 9:58am UTC](https://community.grafana.com/t/unable-to-sort-logs-by-created-date/155217 "2025-07-29T09:58:47Z")

</div>

Hey all, I’d like to know if there’s a way of changing the logs direction in Gravana? Currently they go from newest to oldest from top to bottom which makes it very hard to look at cronologically. I can’t see a way to ch…

---

## [Cloudwatch data source 504 Gateway Timeout when assuming a role](https://community.grafana.com/t/cloudwatch-data-source-504-gateway-timeout-when-assuming-a-role/154076)

<div class="topic-metadata">

**Author:** [@dieni](https://community.grafana.com/u/dieni)\
**Replies:** 6\
**Last updated:** [July 17, 2025, 8:53am UTC](https://community.grafana.com/t/cloudwatch-data-source-504-gateway-timeout-when-assuming-a-role/154076 "2025-07-17T08:53:00Z")

</div>

What Grafana version and what operating system are you using? 11.6.3 via Amazon Linux 2 in AWS ECS What are you trying to achieve? Query Cloudwatch logs and metrics from various AWS accounts within my organization…

---

## [Unable to connect AWS cloudwatch](https://community.grafana.com/t/unable-to-connect-aws-cloudwatch/153764)

<div class="topic-metadata">

**Author:** [@chandrakantsilver](https://community.grafana.com/u/chandrakantsilver)\
**Replies:** 0\
**Last updated:** [July 2, 2025, 8:29am UTC](https://community.grafana.com/t/unable-to-connect-aws-cloudwatch/153764 "2025-07-02T08:29:53Z")

</div>

The Cloudwatch datasource stopped working suddenly. And, I am not able to figure out why? It worked till 16:00 CEST yesterday (IIRC). I tried refreshing the security key, checked the permission (policies) of AWS IAM use…

---

## [Connecting AWS account with Grafana Cloud CloudWatch datasource](https://community.grafana.com/t/connecting-aws-account-with-grafana-cloud-cloudwatch-datasource/150513)

<div class="topic-metadata">

**Author:** [@sanjayastn](https://community.grafana.com/u/sanjayastn)\
**Replies:** 3\
**Last updated:** [May 15, 2025, 11:17am UTC](https://community.grafana.com/t/connecting-aws-account-with-grafana-cloud-cloudwatch-datasource/150513 "2025-05-15T11:17:14Z")

</div>

Hi, I have a grafana cloud account (Free version), I’m trying to get AWS cloudwatch connected to this grafana account. I’m trying using the cloudwatch datasource and create an assume role in my AWS account. But I’m get…

---

## [Cloudwatch Query doesn't show k8 pod name when there's only one k8 pod](https://community.grafana.com/t/cloudwatch-query-doesnt-show-k8-pod-name-when-theres-only-one-k8-pod/148872)

<div class="topic-metadata">

**Author:** [@benevans](https://community.grafana.com/u/benevans)\
**Replies:** 0\
**Last updated:** [April 24, 2025, 1:31pm UTC](https://community.grafana.com/t/cloudwatch-query-doesnt-show-k8-pod-name-when-theres-only-one-k8-pod/148872 "2025-04-24T13:31:08Z")

</div>

fields @timestamp, resource.k8s.pod.name as pod\_label | filter attributes.log.iostream = "stderr" and resource.k8s.namespace.name = "$namespace" | stats count(pod\_label) by resource.k8s.pod.name, bin(30m) | limit 100 …

---

## [CloudWatch: Limit of 6 label expressions exceeded](https://community.grafana.com/t/cloudwatch-limit-of-6-label-expressions-exceeded/148846)

<div class="topic-metadata">

**Author:** [@jinxiao](https://community.grafana.com/u/jinxiao)\
**Replies:** 1\
**Last updated:** [April 24, 2025, 8:19am UTC](https://community.grafana.com/t/cloudwatch-limit-of-6-label-expressions-exceeded/148846 "2025-04-24T08:19:38Z")

</div>

We’re using a CloudWatch DataSource. When I tried to query more than 6 labels then it returns with “Limit of 6 label expressions exceeded”.

---

## [Display table of most recent 5 files in S3 buckets](https://community.grafana.com/t/display-table-of-most-recent-5-files-in-s3-buckets/147341)

<div class="topic-metadata">

**Author:** [@grant2](https://community.grafana.com/u/grant2)\
**Replies:** 1\
**Last updated:** [March 28, 2025, 1:23pm UTC](https://community.grafana.com/t/display-table-of-most-recent-5-files-in-s3-buckets/147341 "2025-03-28T13:23:18Z")

</div>

I using Grafana OSS and am monitoring my S3 storage bucket sizes using the Cloudwatch datasource for Grafana. I would like to have a query which displays in table the most recent 5 files stored in each bucket. How can …

---

## [Clouwatch datasource reaching data point limits for S3](https://community.grafana.com/t/clouwatch-datasource-reaching-data-point-limits-for-s3/147011)

<div class="topic-metadata">

**Author:** [@arnaubria](https://community.grafana.com/u/arnaubria)\
**Replies:** 2\
**Last updated:** [March 24, 2025, 2:24pm UTC](https://community.grafana.com/t/clouwatch-datasource-reaching-data-point-limits-for-s3/147011 "2025-03-24T14:24:58Z")

</div>

Dear all, I’m using cloudwatch plugin with cross-account observability. We are managing quite a few number of accounts (around 40) and hundreds of buckets (not all relevant to us). With default plugin configuration when…

---

## [Mixed query with prometheus](https://community.grafana.com/t/mixed-query-with-prometheus/146346)

<div class="topic-metadata">

**Author:** [@arnaubria](https://community.grafana.com/u/arnaubria)\
**Replies:** 6\
**Last updated:** [March 24, 2025, 12:44pm UTC](https://community.grafana.com/t/mixed-query-with-prometheus/146346 "2025-03-24T12:44:10Z")

</div>

Dear all, I’m trying to create a mixed query between cloudwatch (S3) and a custom metric I’m sending to prometheus. My goal is to add all bucket tags (sent by my custom metric) to the bucket info sent by cloudwatch . I’…

---

## [Math Operation (Percentage calculation) issue for CloudWatch metrics through grafana](https://community.grafana.com/t/math-operation-percentage-calculation-issue-for-cloudwatch-metrics-through-grafana/80546)

<div class="topic-metadata">

**Author:** [@evanwoo](https://community.grafana.com/u/evanwoo)\
**Replies:** 4\
**Last updated:** [March 21, 2025, 7:01pm UTC](https://community.grafana.com/t/math-operation-percentage-calculation-issue-for-cloudwatch-metrics-through-grafana/80546 "2025-03-21T19:01:56Z")

</div>

Currently, I am having incorrect math operation from AWS Cloudwatch Ops through Grafana dashboard. I need to get the failure rate for AWSBackupJobs. I set: $A → NumberOfBackupJobsFailed $B → NumberOfBackupJobsAborted …

---

## [Cross-account observability](https://community.grafana.com/t/cross-account-observability/144506)

<div class="topic-metadata">

**Author:** [@paulomuedi](https://community.grafana.com/u/paulomuedi)\
**Replies:** 0\
**Last updated:** [February 20, 2025, 6:27pm UTC](https://community.grafana.com/t/cross-account-observability/144506 "2025-02-20T18:27:16Z")

</div>

Hey @here im trying to archive this: I have to AWS account in two aws regions, eg: eu-west-1 and us-east-1 and both of them are running cloudwatch. And i have a ec2 where running self-grafana on (us-east-1), I can see b…

---

## [Grafana cloud mongodb query issue](https://community.grafana.com/t/grafana-cloud-mongodb-query-issue/144148)

<div class="topic-metadata">

**Author:** [@yuanrong](https://community.grafana.com/u/yuanrong)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 2:27am UTC](https://community.grafana.com/t/grafana-cloud-mongodb-query-issue/144148 "2025-02-18T02:27:06Z")

</div>

I’m using Grafana Cloud, and in one of my dashboards, I have multiple MongoDB query panels. I’m currently facing an issue where every time I query MongoDB, the connection is refused (seems like the connection limit is re…

---

## [Grafana Cloudwatch LogGroups Query Error](https://community.grafana.com/t/grafana-cloudwatch-loggroups-query-error/87779)

<div class="topic-metadata">

**Author:** [@grafanatester23](https://community.grafana.com/u/grafanatester23)\
**Replies:** 11\
**Last updated:** [January 12, 2025, 9:39pm UTC](https://community.grafana.com/t/grafana-cloudwatch-loggroups-query-error/87779 "2025-01-12T21:39:56Z")

</div>

What Grafana version and what operating system are you using? Grafana Version 9.5.2. RHEL 7. What are you trying to achieve? Attempting to run a query on log groups in cloudwatch in aws. This is in govcloud. How are…

---

## [Custom Variables: generally failing for my use-case](https://community.grafana.com/t/custom-variables-generally-failing-for-my-use-case/139192)

<div class="topic-metadata">

**Author:** [@notjames](https://community.grafana.com/u/notjames)\
**Replies:** 11\
**Last updated:** [December 30, 2024, 11:56pm UTC](https://community.grafana.com/t/custom-variables-generally-failing-for-my-use-case/139192 "2024-12-30T23:56:46Z")

</div>

What Grafana version and what operating system are you using? Currently using 11.4.0 What are you trying to achieve? We use Grafana in EKS. We use RDS instances. We use cloudwatch as a datasource in grafana to pul…

---

## [AWS WAF rule stopping Grafana CloudWatch queries](https://community.grafana.com/t/aws-waf-rule-stopping-grafana-cloudwatch-queries/137839)

<div class="topic-metadata">

**Author:** [@srsr2710](https://community.grafana.com/u/srsr2710)\
**Replies:** 2\
**Last updated:** [December 6, 2024, 1:48pm UTC](https://community.grafana.com/t/aws-waf-rule-stopping-grafana-cloudwatch-queries/137839 "2024-12-06T13:48:45Z")

</div>

Problem : There are some AWS WAF rules configured to prevent SQL injection attacks, because of that I am not able to use Grafana CloudWatch metric query. In metric query, we can write SQL quires to fetch metrics data. I…

---

## [Numeric fields returned by CW Logs query are displayed in scientific notation](https://community.grafana.com/t/numeric-fields-returned-by-cw-logs-query-are-displayed-in-scientific-notation/136568)

<div class="topic-metadata">

**Author:** [@crh](https://community.grafana.com/u/crh)\
**Replies:** 18\
**Last updated:** [November 29, 2024, 1:40pm UTC](https://community.grafana.com/t/numeric-fields-returned-by-cw-logs-query-are-displayed-in-scientific-notation/136568 "2024-11-29T13:40:13Z")

</div>

What Grafana version and what operating system are you using? Grafana v11.3, Ubuntu 22.04 What are you trying to achieve? I’m trying to create a time series data of the number of requests coming to my API, but gro…

---

## [Possible to create an alert that relies two queries? No data on second query](https://community.grafana.com/t/possible-to-create-an-alert-that-relies-two-queries-no-data-on-second-query/134088)

<div class="topic-metadata">

**Author:** [@alvia](https://community.grafana.com/u/alvia)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 9:12pm UTC](https://community.grafana.com/t/possible-to-create-an-alert-that-relies-two-queries-no-data-on-second-query/134088 "2024-10-22T21:12:55Z")

</div>

Hello, I am able to successfully create an alert using CloudWatch Log Insights query syntax for a single query. But now I’d like to use two queries and compare their values before alerting. When I hit preview, it seems…

---

## [Replacing Series Labels from another DataSource?](https://community.grafana.com/t/replacing-series-labels-from-another-datasource/134199)

<div class="topic-metadata">

**Author:** [@daveysha](https://community.grafana.com/u/daveysha)\
**Replies:** 4\
**Last updated:** [October 15, 2024, 5:46pm UTC](https://community.grafana.com/t/replacing-series-labels-from-another-datasource/134199 "2024-10-15T17:46:13Z")

</div>

What Grafana version and what operating system are you using? Im using Grafana 11.0 on Linux What are you trying to achieve? I’m trying to create a panel from a CloudWatch timeseries data of cpu utilization. The c…

---

## [Create CloudWatch Annotation](https://community.grafana.com/t/create-cloudwatch-annotation/132622)

<div class="topic-metadata">

**Author:** [@kylepeterdavies](https://community.grafana.com/u/kylepeterdavies)\
**Replies:** 0\
**Last updated:** [September 21, 2024, 12:08am UTC](https://community.grafana.com/t/create-cloudwatch-annotation/132622 "2024-09-21T00:08:51Z")

</div>

What Grafana version and what operating system are you using? Linux What are you trying to achieve? I’d like to create an Annotation that shows Business Hours 9AM - 5:30PM on our AWS WAFV2 Dashboard Panel. However…

---

## [How to mix cloudwatch metric with custom datasource](https://community.grafana.com/t/how-to-mix-cloudwatch-metric-with-custom-datasource/129313)

<div class="topic-metadata">

**Author:** [@runnoob](https://community.grafana.com/u/runnoob)\
**Replies:** 1\
**Last updated:** [August 23, 2024, 5:21am UTC](https://community.grafana.com/t/how-to-mix-cloudwatch-metric-with-custom-datasource/129313 "2024-08-23T05:21:46Z")

</div>

What Grafana version and what operating system are you using? 11.1.14 What are you trying to achieve? Sometimes, CloudWatch metrics have null data due to timeouts. I want to add another data source to backfill the mis…

---

## [400 Error for in Grafana UI when using ID's to use Metric Math](https://community.grafana.com/t/400-error-for-in-grafana-ui-when-using-ids-to-use-metric-math/127392)

<div class="topic-metadata">

**Author:** [@ajunx8](https://community.grafana.com/u/ajunx8)\
**Replies:** 1\
**Last updated:** [August 21, 2024, 1:25am UTC](https://community.grafana.com/t/400-error-for-in-grafana-ui-when-using-ids-to-use-metric-math/127392 "2024-08-21T01:25:53Z")

</div>

What Grafana version and what operating system are you using? MacOS 14.4 Browser: Firefox Grafana: Grafana v11.0.0 (277ef258d4) What are you trying to achieve? For the panel to match itself in the grafana app. …

---

## [Handling missing data for an inactive AWS/SQS DLQ in Grafana CloudWatch Datasource](https://community.grafana.com/t/handling-missing-data-for-an-inactive-aws-sqs-dlq-in-grafana-cloudwatch-datasource/124757)

<div class="topic-metadata">

**Author:** [@deno](https://community.grafana.com/u/deno)\
**Replies:** 3\
**Last updated:** [August 7, 2024, 2:14am UTC](https://community.grafana.com/t/handling-missing-data-for-an-inactive-aws-sqs-dlq-in-grafana-cloudwatch-datasource/124757 "2024-08-07T02:14:02Z")

</div>

Hello everyone, What Grafana version and what operating system are you using? Grafana v10.4.1 What are you trying to achieve? I’m working on a Grafana panel and alert that uses the AWS/SQS Metrics via the CloudWatc…

---

## [Can't find a particular namespace in the CloudWatch editor](https://community.grafana.com/t/cant-find-a-particular-namespace-in-the-cloudwatch-editor/127385)

<div class="topic-metadata">

**Author:** [@bradhowe](https://community.grafana.com/u/bradhowe)\
**Replies:** 8\
**Last updated:** [August 2, 2024, 1:48pm UTC](https://community.grafana.com/t/cant-find-a-particular-namespace-in-the-cloudwatch-editor/127385 "2024-08-02T13:48:55Z")

</div>

Need help :wink: When using the AWS cloudwatch Datasource, we are unable to get AWS/NetworkManager namespace metrics to pull and enable reporting in dashboards. The Metrics page displays the following usage metrics…

[Next page](https://community.grafana.com/c/support/cloudwatch/56.md?page=1)
