Creating Vertical and Horizontal Bar Visualizations in Kibana 7.6

1.5 hours
  • 3 Learning Objectives

About this Hands-on Lab

The visual difference between vertical and horizontal bar visualizations is minor, but that doesn’t necessarily mean they are used to answer the same questions interchangeably. In this hands-on lab, we will create vertical and horizontal bar visualizations in Kibana to hopefully differentiate them in the way they are used.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create and Save the “Top Processes” Visualization
  1. Create a new horizontal bar visualization.
  2. Calculate the total number of events and label it as Events.
  3. Split the series on the top 5 of process.name ordered by the number of events in descending order and labelled as Process.
  4. Hide axis lines and labels for both the x and y axes.
  5. Enable the Show values on chart setting.
  6. Color the bar chart blue.
  7. Save the visualization as "Top Processes."
Create and Save the “Events by Log File Over Time” Visualization
  1. Create a new vertical bar visualization.
  2. Calculate the total number of events and label it as Events.
  3. Split the chart on the top 5 of log.file.path ordered by the number of events in descending order and labelled as Log File.
  4. Configure the x-axis as a date histogram of the field @timestamp labelled as Time with an automatic interval.
  5. Save the visualization as "Events by Log File Over Time."
Create and Save the “Events by Process Per Log File” Visualization
  1. Create a new vertical bar visualization.
  2. Calculate the total number of events and label it as Events.
  3. Split the x-axis on the top 5 of log.file.path ordered by the number of events in descending order and labelled as Log File.
  4. Split the series on the top 5 of process.name ordered by the number of events in descending order and labelled as Process.
  5. Align the x-axis labels horizontally.
  6. Save the visualization as "Events by Process Per Log File."

Additional Resources

You are a system administrator working on a syslog dashboard to monitor a network of Linux servers. For this task, you have already deployed Filebeat to your Linux servers and need to create the following horizontal and vertical bar charts in Kibana to keep track of system activity:

Horizontal Bar Chart: Top Processes

  • Calculate the total number of events, and label it as "Events."
  • Split series chart on the top 5 of process.name ordered by the number of events in descending order and labeled as "Process."
  • Hide axis lines and labels for both the x and y axes.
  • Enable show values on chart.
  • Color the bar chart blue.

Vertical Bar Chart: Events by Log File Over Time

  • Calculate the total number of events, and label it as "Events."
  • Split the series on the top 5 of log.file.path ordered by the number of events in descending order and labeled as "Log File."
  • Configure the x-axis as a date histogram of the field @timestamp labeled as "Time" with an automatic interval.

Vertical Bar Chart: Events by Process Per Log File

  • Calculate the total number of events, and label it as "Events."
  • Split the x-axis on the top 5 of log.file.path ordered by the number of events in descending order and labeled as "Log File."
  • Split the series on the top 5 of process.name ordered by the number of events in descending order and labeled as "Process."
  • Align the x-axis labels horizontally.

Your lab node has a Kibana instance, which can be accessed in your local web browser. Follow the steps below to log in:

  1. Navigate to the public IP address of the lab node over port 8080 (i.e., http://<PUBLIC_IP>:8080).
  2. Log in to the Kibana instance using the following credentials:
    • Username: elastic
    • Password: elastic_acg

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?