- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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.

Lab 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".
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.