Skip to content

Exercise 6: Elasticsearch queries — practice

The purpose of this exercise is to practice the search and aggregation capabilities of Elasticsearch. Feel free to take inspiration from the solutions in exercise 4. Please use the Dev Tools of Kibana for creating and testing the queries.

a) Who are the 3 youngest people?

b) Who are the 3 youngest people working at KFC earning at least 80000 USD per year?

c) What is the average age of the workers at different companies?

SUBMISSION

As in exercise 4, submit the query JSON as part of this exercise. Please refer to exercise 4 for an explanation of what the query JSON is.

Save the query JSON as ex6-a.json, ex6-b.json, and ex6-c.json respectively.

Back to top