In this chapter, we have learned about Elasticsearch aggregation, by means of which we can aggregate the data to get insights. We have covered the four main types of aggregations, which are metrics, bucketing, pipeline, and matrix aggregation. We have also covered different types of aggregations within these four types.
In the next chapter, we will cover the best practices we can follow in order to manage the Elasticsearch cluster.