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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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.
- 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.
- 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.