Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Elasticsearch 7 Quick Start Guide

You're reading from   Elasticsearch 7 Quick Start Guide Get up and running with the distributed search and analytics capabilities of Elasticsearch

Arrow left icon
Product type Paperback
Published in Oct 2019
Publisher Packt
ISBN-13 9781789803327
Length 186 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Douglas Miller Douglas Miller
Author Profile Icon Douglas Miller
Douglas Miller
Anurag Srivastava Anurag Srivastava
Author Profile Icon Anurag Srivastava
Anurag Srivastava
Arrow right icon
View More author details
Toc

Pipeline aggregations

Pipeline aggregations return outputs from other aggregations, and add information to the output tree. There are two families of aggregation:

  • Parent aggregations: Pipeline aggregations that take the output from the parent aggregation and compute new buckets or aggregations to add to the existing buckets
  • Sibling aggregations: Pipeline aggregations that take the output from a sibling aggregation and compute new buckets or aggregations to add to the existing buckets

The pipeline aggregations use buckets_path to reference the aggregations. This allows the pipelines to be chained. The syntax for the path is as follows:

PATH = <AGG_NAME>[<AGG_SEPARATOR>,<AGG_NAME>]*[<METRIC_SEPARATOR>, <METRIC>];

Here, the parameters are as follows:

  • AGG_NAME: Represents the name of the aggregation
  • AGG_SEPARATOR: Represents the separator of the aggregation...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image