---
title: Rollup aggregation limitations in Elasticsearch
description: 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...
url: https://www.elastic.co/docs/manage-data/lifecycle/rollup/rollup-aggregation-limitations
products:
  - Elasticsearch
applies_to:
  - Elastic Cloud Serverless: Unavailable
  - Elastic Stack: Generally available
---

# Rollup aggregation limitations in Elasticsearch
<admonition title="Deprecated in 8.11.0.">
  Rollups will be removed in a future version. [Migrate](https://www.elastic.co/docs/manage-data/lifecycle/rollup/migrating-from-rollup-to-downsampling) to [downsampling](https://www.elastic.co/docs/manage-data/data-store/data-streams/downsampling-time-series-data-stream) instead.
</admonition>

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.

## Limited aggregation components

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