- Lab
- A Cloud Guru
Visualizing Anomalies in Kibana 7.6
Using Kibana visualizations and dashboards, we can spot anomalies in our data but only if we are very intimately familiar with the data. However, with Kibana’s anomaly detection, we can find unusual data points more quickly and easily than we could by ourselves. Combining the output of anomaly detection machine learning jobs with our visualizations, we can annotate what's normal, and what's not, in real time, without having an intimate knowledge of the dataset. In this hands-on lab, we will explore the annotation ability of the TSVB in Kibana to display anomalous behavior over our time series visualizations.
Path Info
Table of Contents
-
Challenge
Create and run the ecommerce-sales ML job.
- Create a single-metric anomaly detection machine learning job for the
ecommerce
index pattern. - Use the full flights data as the time range.
- Configure the job to analyze the sum of
products.price
. - Configure the bucket span to be 30 minutes.
- Configure the job to ignore sparse data.
- Set the job ID to ecommerce-sales.
- Create and configure the job to run in realtime.
- Create a single-metric anomaly detection machine learning job for the
-
Challenge
Create and save the Sales Over Time visualization.
- Create the
.ml-anomalies-shared
index pattern in order to access the anomaly data. - Create a new TSVB time-series visualization for the
ecommerce
index pattern. - Configure the series to calculate the sum of the
products.price
field, label it as Sales, and display it as a dollar amount with 2 decimal places (example: 1,234.567 as $1,234.56). - Configure the visualization to hide the legend.
- Add an annotation that displays a red line with an exclamation triangle icon whenever an anomaly with a
record_score
greater than or equal to 50 occurs for the ecommerce-sales machine learning job. - Configure the annotation's tooltip to display the
record_score
,typical
, andactual
values of the anomaly. - Save the visualization as Sales Over Time.
- Create the
-
Challenge
Add the Sales Over Time visualization to the eCommerce dashboard.
- Edit the eCommerce dashboard.
- Add the Sales Over Time visualization and place it wherever you like.
- Save the 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.