Reader small image

You're reading from  Building IoT Visualizations using Grafana

Product typeBook
Published inJul 2022
PublisherPackt
ISBN-139781803236124
Edition1st Edition
Right arrow
Author (1)
Rodrigo Juan Hernández
Rodrigo Juan Hernández
author image
Rodrigo Juan Hernández

Rodrigo Juan Hernández is an electronic engineer passionate about IoT even before it existed. He has been working on tech for more than 18 years until now. For several years he has been focusing on the IoT ecosystem. He is currently giving consultation about IoT systems to clients around the world. He also produces content online about IoT and related subjects and the content is available on his blog, Youtube channel, and social networks - mainly LinkedIn. He also writes for companies that need good quality content about their products and services. His main objective nowadays is helping others to understand and implement IoT solutions.
Read more about Rodrigo Juan Hernández

Right arrow

Exporting and importing dashboards

The dashboards in Grafana are based on a JSON structure. This object includes all the information about properties, panel data, variables, and queries.

To see the JSON of a dashboard, go to the top of the screen, click on Dashboard settings, and click on JSON Model. You will see something similar to the following code:

Figure 8.29 – JSON model of a dashboard

As the JSON model has all the data needed to represent a dashboard, if you want to export one, you only need to copy this model and store it in a text file.

Let’s see how you can export a dashboard easily from Grafana.

Exporting a dashboard

First, click on the share icon at the top of the screen, and select the Export tab in the dialog box, as you can see in Figure 8.29:

Figure 8.30 – Exporting a dashboard

Then, you can choose to view the JSON object on the screen or click on Save to file to generate a JSON file...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Building IoT Visualizations using Grafana
Published in: Jul 2022Publisher: PacktISBN-13: 9781803236124

Author (1)

author image
Rodrigo Juan Hernández

Rodrigo Juan Hernández is an electronic engineer passionate about IoT even before it existed. He has been working on tech for more than 18 years until now. For several years he has been focusing on the IoT ecosystem. He is currently giving consultation about IoT systems to clients around the world. He also produces content online about IoT and related subjects and the content is available on his blog, Youtube channel, and social networks - mainly LinkedIn. He also writes for companies that need good quality content about their products and services. His main objective nowadays is helping others to understand and implement IoT solutions.
Read more about Rodrigo Juan Hernández