﻿---
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://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4409/manage-data/lifecycle/rollup/rollup-aggregation-limitations
products:
  - Elasticsearch
---

# Rollup aggregation limitations in Elasticsearch
<admonition title="Deprecated in 8.11.0.">
  Rollups will be removed in a future version. [Migrate](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4409/manage-data/lifecycle/rollup/migrating-from-rollup-to-downsampling) to [downsampling](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4409/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