# Find all panels using the data source

**URL:** <https://community.grafana.com/t/find-all-panels-using-the-data-source/159528>\
**Category:** Grafana\
**Tags:** datasource, panel\
**Created:** [November 19, 2025, 10:15am UTC](https://community.grafana.com/t/find-all-panels-using-the-data-source/159528 "2025-11-19T10:15:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivamshekhar96](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@shivamshekhar96](https://community.grafana.com/u/shivamshekhar96)\
**Post date:** [November 19, 2025, 10:15am UTC](https://community.grafana.com/t/find-all-panels-using-the-data-source/159528/1 "2025-11-19T10:15:42Z")

</div>

I have lot of data sources , dashboards and panels in Grafana.  
My grafana version is 11.2.0

i want to list all panels using a particular data source.  
assume data source is opensearch.

how can i do it?

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [November 19, 2025, 11:51am UTC](https://community.grafana.com/t/find-all-panels-using-the-data-source/159528/2 "2025-11-19T11:51:10Z")

</div>

> [@How to find out unused datasources?](https://community.grafana.com/t/how-to-find-out-unused-datasources/56920/2):
>
> Use [GitHub - panodata/grafana-wtf: Grep through all Grafana entities in the spirit of git-wtf.](https://github.com/panodata/grafana-wtf) and search datasource names. Or use Grafana API and search them in dashboard models (that’s what grafana wtf is doing )

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [November 19, 2025, 4:23pm UTC](https://community.grafana.com/t/find-all-panels-using-the-data-source/159528/3 "2025-11-19T16:23:16Z")

</div>

another way using grafana api with infinity

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/5/4/5468b29fbc9687f8a9f67a02c30c3bdbc94d3bd8.png)
