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

Grafana authentication

In this section, you will explore some authentication methods that you can use with Grafana. However, due to the extensive configuration that these methods require, we will just see introductory information on each one.

The simplest method that you can use to authenticate users is the built-in user authentication system. This method is enabled by default, and you can use it as soon as you install Grafana, as we saw in Chapter 1, Getting Started with Grafana.

Short-lived tokens

Short-lived tokens allow active users to stay logged in. These short-lived tokens are rotated after a time equal to the specified by the token_rotation_interval_minutes configuration setting.

If the token or an active user is rotated, then login_maximum_inactive_lifetime_duration will be extended. So, the user can be inactive or even close the browser for a maximum time of timestamp of rotated token + login_maximum_inactive_lifetime_duration.

Besides these intervals, the...