Loading

Rollup aggregation limitations in Elasticsearch

Serverless Unavailable Stack

Deprecated in 8.11.0.

Rollups will be removed in a future version. Migrate to downsampling instead.

When you work with indexed data in Elasticsearch, there are some limitations to how the document fields can be rolled up or aggregated. This page highlights the major limitations so that you are aware of them.

The Rollup functionality allows fields to be grouped with the following aggregations:

  • Date Histogram aggregation
  • Histogram aggregation
  • Terms aggregation

And the following metrics are allowed to be specified for numeric fields:

  • Min aggregation
  • Max aggregation
  • Sum aggregation
  • Average aggregation
  • Value Count aggregation