Creating Gauge Visualizations with the Time Series Visual Builder (TSVB) in Kibana 7.6

1.5 hours
  • 3 Learning Objectives

About this Hands-on Lab

We can use the TSVB in Kibana to create gauge visualizations specifically for time series data by only visualizing the latest value in the series rather than an aggregation of an overall time window. In this hands-on lab, we will demonstrate this ability by creating gauge visualizations from time series data using the TSVB.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create and Save the System Load Visualization
  1. Create a new gauge visualization with the TSVB.
  2. Calculate the average of system.load.norm.5, label it as Load, and format it as a percent.
  3. Configure the visualization with a max value of 1 and the following thresholds:
    • Color the gauge green if system load is less than 80% (0.8).
    • Color the gauge yellow if system load is greater than or equal to 80% (0.8).
    • Color the gauge red if system load is equal to 100% (1).
  4. Configure the visualization to show the latest value with greater than or equal to 10 second intervals.
  5. Save the visualization as "System Load".
Create and Save the CPU Usage Visualization
  1. Create a new gauge visualization with the TSVB.
  2. Calculate the average of system.cpu.total.pct, label it as CPU, and format it as a percent.
  3. Configure the visualization with a max value of 1 and the following thresholds:
    • Color the gauge green if CPU usage is less than 80% (0.8).
    • Color the gauge yellow if CPU usage is greater than or equal to 80% (0.8).
    • Color the gauge red if CPU usage is equal to 100% (1).
  4. Configure the visualization to show the latest value with greater than or equal to 10 second intervals.
  5. Save the visualization as "CPU Usage".
Create and Save the Memory Usage Visualization
  1. Create a new gauge visualization with the TSVB.
  2. Calculate the average of system.memory.used.pct, label it as Memory, and format it as a percent.
  3. Configure the visualization with a max value of 1 and the following thresholds:
    • Color the gauge green if memory usage is less than 70% (0.7).
    • Color the gauge yellow if memory usage is greater than or equal to 70% (0.7).
    • Color the gauge red if memory usage is greater than or equal to 90% (0.9).
  4. Configure the visualization to show the latest value with greater than or equal to 10 second intervals.
  5. Save the visualization as "Memory Usage".

Additional Resources

You work as a data administrator working in the network operations center of your company's IT department. You have been tasked with creating the following TSVB gauge visualizations in Kibana to monitor the live system resource usage of the company's servers:

System Load

  • Calculate the average of system.load.norm.5, label it as Load, and format it as a percent.
  • Configure the visualization with a max value of 1 and the following thresholds:
    • Color the gauge green if system load is less than 80% (0.8).
    • Color the gauge yellow if system load is greater than or equal to 80% (0.8).
    • Color the gauge red if system load is equal to 100% (1).
  • Configure the visualization to show the latest value with greater than or equal to 10 second intervals.

CPU Usage

  • Calculate the average of system.cpu.total.pct, label it as CPU, and format it as a percent.
  • Configure the visualization with a max value of 1 and the following thresholds:
    • Color the gauge green if CPU usage is less than 80% (0.8).
    • Color the gauge yellow if CPU usage is greater than or equal to 80% (0.8).
    • Color the gauge red if CPU usage is equal to 100% (1).
  • Configure the visualization to show the latest value with greater than or equal to 10 second intervals.

Memory Usage

  • Calculate the average of system.memory.used.pct, label it as Memory, and format it as a percent.
  • Configure the visualization with a max value of 1 and the following thresholds:
    • Color the gauge green if memory usage is less than 70% (0.7).
    • Color the gauge yellow if memory usage is greater than or equal to 70% (0.7).
    • Color the gauge red if memory usage is greater than or equal to 90% (0.9).
  • Configure the visualization to show the latest value with greater than or equal to 10 second intervals.

Your lab node has a Kibana instance which can be accessed in your local web browser by navigating to the public IP address of the lab node over port 8080 (example: http://public_ip:8080). To log in, use the elastic user with the password elastic_acg.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?