Creating Map Visualizations in Kibana 7.6

2 hours
  • 4 Learning Objectives

About this Hands-on Lab

Using Kibana, you can visualize geospatial data in a multitude of ways. Sort, filter, aggregate, and plot your data as vectors, grids, regions, or point-to-point map visualizations. In this hands-on lab, we will seek out geographical insights within our data as we create map visualizations in Kibana.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create and Save the Airports Visualization
  1. Log into the Kibana instance.
  2. Create a new map visualization.
  3. Add a vector map layer with the flights index pattern and DestLocation geospatial field labeled as Flights.
  4. Configure the Flights layer tooltip to show the fields DestCountry, DestCityName, and DestAirportID.
  5. Configure the Flights layer to show the top hits per DestAirportID and only show one document per value.
  6. Configure the Flights layer’s symbol type to the airport icon.
Create and Save the Web Traffic Visualization
  1. Add a grid map layer as a heat map with the logs index pattern and geo.coordinates geospatial field labeled as Traffic.
  2. Calculate the count of requests and label it as Requests on the Traffic layer.
  3. Configure the Traffic layer grid resolution as fine.
Create and Save the Global Sales Visualization
  1. Create a new map visualization.
  2. Add a world countries EMS boundaries layer and label it as Countries.
  3. Configure the Countries layer tooltip to show the field name.
  4. Add a term join to the Countries layer with left source World Countries, left field ISO 3166-1 alpha-2 code, right source ecommerce, and right field geoip.country_iso_code.
  5. Configure the term join on the Countries layer to calculate the sum of products.price, label it as Sales, and display it as a dollar amount with 2 decimal places (example: 1,234.567 as $1,234.56).
  6. Configure the Countries layer’s fill color to green scaled by the value of Sales.
  7. Configure the Countries layer’s border color to black.
  8. Save the visualization as Global Sales.
Create and Save the ES-Air Flights Visualization
  1. Create a new map visualization.
  2. Add a point-to-point layer with the flights index pattern, OriginLocation source field, DestLocation destination field, and label it as Flights.
  3. Calculate the average of FlightDelayMin and label it as "Delayed Minutes" for the Flights layer.
  4. Filter the Flights layer to only show flights with the Carrier of ES-Air.
  5. Configure the Flights layer’s border color to scale from green to red based off the Delayed Minutes value.
  6. Configure the Flights layer’s border width to scale based off the Delayed Minutes value.
  7. Save the visualization as ES-Air Flights.

Additional Resources

You work as a data visualization specialist for a data analysis company. You have been tasked with creating the following map visualizations from geospatial data in Kibana for several of your clients:

Airports

  • Add a vector map layer with the flights index pattern and DestLocation geospatial field labeled as Flights.
  • Configure the Flights layer tooltip to show the fields DestCountry, DestCityName, and DestAirportID.
  • Configure the Flights layer to show the top hits per DestAirportID and only show one document per value.
  • Configure the Flights layer's symbol type to the airport icon.

Web Traffic

  • Add a grid map layer as a heat map with the logs index pattern and geo.coordinates geospatial field labeled as Traffic.
  • Calculate the count of requests and label it as "Requests" on the Traffic layer.
  • Configure the Traffic layer grid resolution as fine.

Global Sales

  • Add a world countries EMS boundaries layer and label it as Countries.
  • Configure the Countries layer tooltip to show the field name.
  • Add a term join to the Countries layer with left source World Countries, left-field ISO 3166-1 alpha-2 code, right source ecommerce, and right field geoip.country_iso_code.
  • Configure the term join on the Countries layer to calculate the sum of products.price, 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 Countries layer's fill color to green-scaled by the value of Sales.
  • Configure the Countries layer's border color to black.

ES-Air Flights

  • Add a point-to-point layer with the flights index pattern, OriginLocation source field, *DestLocation destination field, and label it as Flights.
  • Calculate the average of FlightDelayMin and label it as Delayed Minutes for the Flights layer.
  • Filter the Flights layer to only show flights with the Carrier of ES-Air.
  • Configure the Flights layer's border color to scale from green to red based on the Delayed Minutes value.
  • Configure the Flights layer's border width to scale based on the Delayed Minutes value.

Your Cloud Server has a Kibana instance that can be accessed in your web browser by navigating to the public IP address of the lab node over port 8080 (Example: http://public_ip:8080). To log in, use the elastic user with the 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?