How can I search for a dashboard by content (e.g. name of panel, used metric, used function)

Dear Uwe,

we probably experience the same need for taking care of Grafana instances with a growing number of data sources and dashboards after a few years of usage. So, to answer a question like “How to maintain this beast?”, you can now https://localhost:3000/t/use-grafana-wtf-to-search-through-all-entities-of-a-grafana-instance/13828.

Enjoy:

Details

It probably resembles very much what you have been aiming at:

Yeah, going to the API is the approach grafana-wtf is taking, as this feels most generic and naturally.

Exactly. grafana-wtf currently sifts through all scalar values of all JSON documents for verbatim strings passed on the command line. More fancy kinds of expressions like case-insensitive search or regular expressions can be added with one of the next iterations.

Hope this helps.

With kind regards,
Andreas.

1 Like