Bucket aggregations are useful to analyze how the whole relates to its parts, so that we can gain better insight on the data. They help in segmenting the data into smaller parts. Each type of bucket aggregation slices the data into different segments, or buckets. Bucket aggregations are the most common type of aggregation used in any analysis process.
In this section, we will cover the following topics, keeping the network traffic data example at the center:
- Bucketing on string data
- Bucketing on numerical data
- Aggregating filtered data
- Nesting aggregations
- Bucketing on custom conditions
- Bucketing on date/time data
- Bucketing on geospatial data