How to list, create, update and delete Grafana dashboards via API

preview_player
Показать описание
I have been a Splunk guy for quite some time, 4 years or so. I have made several blog posts describing how to work with Splunk in automated manner. But after their decision to stop their business in Russia last year, including customer support and selling software and services, it was just a matter of time for me to start working with other dashboarding tools.

For me, Grafana has become such a tool. In this post I want to describe the basic API operations with Grafana dashboards, which are necessary if you need to create and update dozens and hundreds of dashboards. Doing all this in the GUI will be painful. Grafana has a pretty logical and well-documented API. The only tricky moments I had were getting a list of all dashboard and editing an existing dashboard.

Рекомендации по теме
Комментарии
Автор

Can you please demonstrate how to pass login credentials via api

fahdnawab
Автор

How to embed custom query for influxdb while creating dashboard...using http request..please explain them as well

anandish