Find all dashboards using certain datasource before removing datasource

  • What Grafana version and what operating system are you using?
    9.4.3

  • What are you trying to achieve?
    Find all dashboards using a certain datasource before deleting datasource. We are migrating to a new source for time series and would like to find all dashboards using the old datasource.

  • How are you trying to achieve it?
    Via the api for datasources or dashboards and the GUI if possible.

  • What happened?
    No api exist that I can find to search this.

  • What did you expect to happen?
    I way to easily see all dashboards using a datasource before I delete the datasource.

  • Can you copy/paste the configuration(s) that you are having problems with?
    n/a

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    n/a

  • Did you follow any online instructions? If so, what is the URL?
    n/a

Looking for a UI or API way to find all dashboards using a certain datasource.

GitHub - panodata/grafana-wtf: Grep through all Grafana entities in the spirit of git-wtf. is the right tool to help you. But be creative and slightly modify your requirements - e.g. which dashboards contains this particular datasource uid or datasource name

Thanks. I wrote a narrow version of that using RUST that just pulls out the panel datasources per dashboard. Was a great resource.