# Add date math support in index-pattern for rollup job

**URL:** <https://discuss.elastic.co/t/add-date-math-support-in-index-pattern-for-rollup-job/277321>\
**Category:** Elasticsearch\
**Tags:** rollups\
**Created:** [June 29, 2021, 8:31am UTC](https://discuss.elastic.co/t/add-date-math-support-in-index-pattern-for-rollup-job/277321 "2021-06-29T08:31:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangqinghuan](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wangqinghuan](https://discuss.elastic.co/u/wangqinghuan)\
**Post date:** [June 29, 2021, 8:31am UTC](https://discuss.elastic.co/t/add-date-math-support-in-index-pattern-for-rollup-job/277321/1 "2021-06-29T08:31:37Z")

</div>

Currently, we can specify index-pattern to match a series of daily indices when create a rollup job. However, when a lot of indices exists in Elasticsearch, rollup job will scan all exists indices to filter data although these indices are not necessary to scan. Should we support date math expression in index pattern to avoid scan a lot of older indices in rollup feature?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 27, 2021, 8:32am UTC](https://discuss.elastic.co/t/add-date-math-support-in-index-pattern-for-rollup-job/277321/2 "2021-07-27T08:32:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
