Book Image

Building IoT Visualizations using Grafana

By : Rodrigo Juan Hernández
5 (1)
Book Image

Building IoT Visualizations using Grafana

5 (1)
By: Rodrigo Juan Hernández

Overview of this book

Grafana is a powerful open source software that helps you to visualize and analyze data gathered from various sources. It allows you to share valuable information through unclouded dashboards, run analytics, and send notifications. Building IoT Visualizations Using Grafana offers how-to procedures, useful resources, and advice that will help you to implement IoT solutions with confidence. You’ll begin by installing and configuring Grafana according to your needs. Next, you’ll acquire the skills needed to implement your own IoT system using communication brokers, databases, and metric management systems, as well as integrate everything with Grafana. You’ll learn to collect data from IoT devices and store it in databases, as well as discover how to connect databases to Grafana, make queries, and build insightful dashboards. Finally, the book will help you implement analytics for visualizing data, performing automation, and delivering notifications. By the end of this Grafana book, you’ll be able to build insightful dashboards, perform analytics, and deliver notifications that apply to IoT and IT systems.
Table of Contents (21 chapters)
1
Part 1: Meeting Grafana
4
Part 2: Collecting Data from IoT Devices
8
Part 3: Connecting Data Sources and Building Dashboards
12
Part 4: Performing Analytics and Notifications
15
Part 5: Integrating Grafana with Other Platforms

Transformations in Grafana

You can use transformations in Grafana to process the data from a query before Grafana shows it. With transformations, you can join queries, rename fields, perform mathematical operations, and so on.

To access the transformation feature, go to the Transform tab in the panel editor, as you can see in Figure 9.3:

Figure 9.3 – Transform tab

Take into account that, sometimes, the resulting data isn’t shown in the panel because of some incompatibility with the type of panel. In these cases, you can switch the panel to Table view at the top of the screen. In this mode, you will be able to see the results as a table and analyze whether they are what you are looking for.

If you apply more than one transformation, the order of them is important. Each transformation passes the result to the next, forming a pipeline. So, changing the order can modify the final result.

Finally, to apply transformations, you need a working...