# Use dimension from cloudwatch as search expression in grafana

**URL:** <https://community.grafana.com/t/use-dimension-from-cloudwatch-as-search-expression-in-grafana/49053>\
**Category:** Grafana\
**Created:** [June 17, 2021, 6:16am UTC](https://community.grafana.com/t/use-dimension-from-cloudwatch-as-search-expression-in-grafana/49053 "2021-06-17T06:16:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![preetisharma0105](https://avatars.discourse-cdn.com/v4/letter/p/ba8739/32.png) [@preetisharma0105](https://community.grafana.com/u/preetisharma0105)\
**Post date:** [June 17, 2021, 6:16am UTC](https://community.grafana.com/t/use-dimension-from-cloudwatch-as-search-expression-in-grafana/49053/1 "2021-06-17T06:16:02Z")

</div>

Hi,

I am trying to create a dashboard in Grafana from cloudwatch to check subnet IPs count.  
Custom metrics have been created for above request with namespace “Subnet-IP-Metric” and dimension as “Subnet IP availability” which consist of percentage of subnet IP available in particular region.

Issue is I have multiple metric name which needs to be clubbed in one.  
But I have single dimension name which can be used.

I tried search expression, but there also it is asking for metric name which I can’t give. As there are multiple metrics and those metrics are dynamic. It can increase in number if new subnets gets added.  
But dimension will be fixed.  
I am new to Grafana. what can be the possible solution to this.

I am using Grafana UI with \* v7.3.5 (11f305f88a)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [June 17, 2022, 6:16am UTC](https://community.grafana.com/t/use-dimension-from-cloudwatch-as-search-expression-in-grafana/49053/2 "2022-06-17T06:16:47Z")

</div>

Closed on June 17, 2022, 6:16am UTC

This topic was automatically closed after 365 days. New replies are no longer allowed.
