Sometimes what we’d like to aggregate is the output of a previous aggregation. In Elasticsearch, we can accomplish this through pipeline aggregations. In this hands-on lab, we will write pipeline aggregations in Elasticsearch to further aggregate our data in order to answer more complex questions.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Craft an Aggregation to Answer the Question: What Is the Total Distance Travelled per Day and on Which Day was the Most Distance Travelled?
From the Kibana console, craft a pipeline aggregation on the
flights
dataset that answers the question.- Craft an Aggregation to Answer the Question: What Is the Cumulative Sum of Flight Delay Time in Minutes per Day?
From the Kibana console, craft a pipeline aggregation on the
flights
dataset that answers the question.- Craft an Aggregation to Answer the Question: What Is the Change in Average Ticket Price per Day and What Is the `min`, `max`, `avg`, and `sum` of That Change?
From the Kibana console, craft a pipeline aggregation on the
flights
dataset that answers the question.