13 Aggregations

This chapter covers

  • Aggregation basics
  • Working with metric aggregations
  • Categorizing data using bucket aggregations
  • Chaining metric and bucket aggregations in pipeline aggregations

Search and analytics are two sides of a coin, and Elasticsearch delivers absolute detail and countless features. Elasticsearch is a market leader in analytics by providing feature-rich functions for querying and analyzing data, thus enabling organizations to find insights and deep intelligence from their data. Whereas a search finds results for certain criteria, analytics, on the other hand, helps organizations derive statistics and metrics from it. So far, we’ve looked at searching for documents from a given corpus of documents. With analytics, ...

Get Elasticsearch in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.