![grafana json query grafana json query](https://user-images.githubusercontent.com/153843/92571108-9e0ff800-f27a-11ea-9fe9-9f9dcbd7125a.png)
For a full backup of both dashboards and data sources, the Admin role is required. To create an API key, open the side menu, click the Configuration dropdown and select the API Keys option.Ĭreate a user as in the example below. The Viewer roleis sufficient to back up dashboards.
![grafana json query grafana json query](https://raw.githubusercontent.com/briangann/grafana-sensu-datasource/master/src/screenshots/sensu-datasource-results-as-json-select-columns.png)
Package python-requests-2.6. already installed and latest versionīeginning with version 3.0, Grafana allows authentication via an API token. Package python27-python-2.7.86_64 already installed and latest version Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror, refresh-packagekit, security # yum install python27-python python-requests To check whether it is already available on your system, or if you need to install python 2.7 and the python-requestspackages, just use the following yum command:
Grafana json query how to#
In this post I will show you how to use these scripts with NetEye. In my recent consulting projects, I needed to do just that and found an open source project available on GitHub called grafana-backup-toolthat answers precisely this need. Unfortunately, there is no quick and easy way to export all dashboards and data sources at once and then implement a process to back them up. As many of you know, it’s very easy to export and import individual Grafana dashboards using the existing export functionality via JSON. Grafana has become one of the most used modules of NetEye. 2018 Giuseppe Di Garbo ITOA, NetEye, Service Management How to Back Up All of Your Grafana Dashboards