- Lab
- A Cloud Guru
Creating Top N Visualizations with the Time Series Visual Builder (TSVB) in Kibana 7.6
The Time Series Visual Builder (TSVB) is a great way of visualizing top "n" aggregations within time series data. By showcasing data in this way, we can visually represent the significance of the most recent values in a time-series. In this hands-on lab, we will leverage the TSVB in Kibana to create Top N visualizations from time-series data.
Path Info
Table of Contents
-
Challenge
Create and Save the Top Categories Visualization
- Create a new top n visualization with the TSVB.
- Calculate the sum of
products.quantity
, label it as Items Sold, and color it blue. - Group Items Sold by the top 10 of
products.category.keyword
by items sold in descending order. - Configure the visualization to show the latest value with daily intervals and do not drop the last bucket.
- Save the visualization as "Top Categories".
-
Challenge
Create and Save the Top Manufacturers by Unique Products Visualization
- Create a new top n visualization with the TSVB.
- Calculate the cardinality of
products.product_name.keyword
, label it as Products, and color it green. - Group Products by the top 10 of
products.manufacturer.keyword
by products in descending order. - Configure the visualization to show the latest value with daily intervals and do not drop the last bucket.
- Save the visualization as "Top Manufacturers by Unique Products".
-
Challenge
Create and Save the Top Cities by Sales Visualization
- Create a new top n visualization with the TSVB.
- Calculate the sum of
products.price
, label it as Sales, color it orange, and display it as a dollar amount with 2 decimal places (example: 1,234.567 as $1,234.56). - Group Sales by the top 10 of
geoip.city_name
by sales in descending order. - Configure the visualization to show the latest value with daily intervals and do not drop the last bucket.
- Save the visualization as "Top Cities by Sales".
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.