December 2017
Intermediate to advanced
434 pages
10h 29m
English
Bucket aggregations split the context into one or more bucket. We can restrict the context of the aggregation by specifying the query element, as we have seen in the previous section.
When a metric aggregation is nested inside a bucket aggregation, the metric aggregation is computed within each bucket. Let us understand this by taking the following question that we may want to get an answer for:
What is the total bandwidth consumed by each user or a specific customer on a given day?
We have to take the following steps:
Read now
Unlock full access