- Lab
- A Cloud Guru
Creating Option List and Range Slider Controls in Kibana 7.6
Using Kibana Query Language (KQL) or even Kibana’s built in filtering interface are both great and powerful ways to narrow down your datasets in order to quickly find what you are looking for. But what if you could create customized filtering menus and sliders for common filtering terms and value ranges? With option list and range slider controls in Kibana, you have the ability to craft your own filtering mechanisms to be used with Kibana dashboards. In this hands-on lab, you will create option list and range slider control visualizations to provide purpose built and intuitive filtering mechanisms to a Kibana dashboard.
Path Info
Table of Contents
-
Challenge
Create and Add the Client OS Controller Visualization to the Logs Dashboard
- Create a new controls visualization.
- Create an options list for the
logs
index pattern and label it as Client OS. - Set the field to
machine.os.keyword
with multiselect and dynamic options enabled. - Configure the visualization to use the time filter when determining available options.
- Save the visualization as "Client OS Controller".
- Add the visualization to the Logs dashboard.
-
Challenge
Create and Add the Products Controller Visualization to the eCommerce Dashboard
- Create a new controls visualization.
- Create an options list for the
ecommerce
index pattern and label it as Product Category. - Set the field for the Product Category options list to
category.keyword
with multiselect and dynamic options enabled. - Create a range slider for the
ecommerce
index pattern and label it as Product Price. - Set the field for the Product Price range slider to
products.price
with a step size of 1 and 0 decimal places. - Configure the visualization to use the time filter when determining available options and slider ranges.
- Save the visualization as "Products Controller".
- Add the visualization to the eCommerce dashboard.
-
Challenge
Create and Add the Flights Controller Visualization to the Flights Dashboard
- Create a new controls visualization.
- Create an options list for the
flights
index pattern and label it as Carrier. - Set the field for the Carrier options list to
Carrier
with multiselect and dynamic options enabled. - Create an options list for the
flights
index pattern and label it as Flight. - Set the field for the Flight options list to
FlightNum
with multiselect and dynamic options enabled. - Set the Carrier options list to have parental control of the Flight options list.
- Create an options list for the
flights
index pattern and label it as Origin Airport. - Set the field for the Origin Airport options list to
OriginAirportID
with multiselect and dynamic options enabled. - Create an options list for the
flights
index pattern and label it as Destination Airport. - Set the field for the Destination Airport options list to
DestAirportID
with multiselect and dynamic options enabled. - Create a range slider for the
flights
index pattern and label it as Flight Time (Minutes). - Set the field for the Flight Time (Minutes) range slider to
FlightTimeMin
with a step size of 1 and 0 decimal places. - Configure the visualization to update Kibana filters on each change.
- Configure the visualization to use the time filter when determining available options and slider ranges.
- Save the visualization as "Flights Controller".
- Add the visualization to the Flights dashboard.
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.