- Lab
- A Cloud Guru
Creating Lens Visualizations in Kibana 7.6
So you have a question but you're not entirely sure how to visually communicate the answer. With Kibana, we can let lens suggest how best to visualize the answer to our questions. In this hands-on lab, we will leverage the lens interface in Kibana to create intuitive visualizations.
Path Info
Table of Contents
-
Challenge
Create and Save the "Unique Products Sold Over Time by Manufacturer" Visualization
- Create a new Lens visualization.
- Select the stacked bar chart configuration.
- Configure the x-axis as a date histogram of the field
order_date
labeled as "Order Date." - Configure the y-axis as a unique count of the field
products.product_id
labeled as "Unique Products." - Configure a breakdown of the top 10 values of the field
products.manufacturer.keyword
ordered by the number of unique products in descending order and labeled as "Manufacturer." - Save the visualization as "Unique Products Sold Over Time by Manufacturer."
-
Challenge
Create and Save the "Popular Product Categories by Items Sold per Country" Visualization
- Create a new Lens visualization.
- Select the stacked horizontal bar chart configuration.
- Configure the y-axis as the sum of the field
products.quantity
labeled as "Items Sold." - Configure the x-axis as the top 6 values of the field
products.category.keyword
ordered by the number of items sold in descending order and labeled as "Category." - Configure a breakdown of the top 10 values of the field
geoip.country_iso_code
for each category ordered by the number of items sold in descending order and labeled as "Country." - Save the visualization as "Popular Product Categories by Items Sold per Country."
-
Challenge
Create and Save the "Top Customers" Visualization
- Create a new Lens visualization.
- Select the data table configuration.
- Add a column for the top 10 values of
customer_full_name.keyword
, and label it as "Customer." - Add a column for the count of orders, and label it "Orders."
- Add a column for the sum of
products.quantity
, and label it "Items." - Add a column for the sum of
products.price
, label it as "Dollars," and format it as a dollar amount with 2 decimal places (example: 1,234.567 as $1,234.56). - Order the Customers column by Dollars in descending order.
- Save the visualization as "Top Customers."
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.