# How to provide custom start\_date and time to rollup job’s indexer at rollup job’s creation time

**URL:** <https://discuss.elastic.co/t/how-to-provide-custom-start-date-and-time-to-rollup-job-s-indexer-at-rollup-job-s-creation-time/245262>\
**Category:** Elasticsearch\
**Created:** [August 17, 2020, 3:20pm UTC](https://discuss.elastic.co/t/how-to-provide-custom-start-date-and-time-to-rollup-job-s-indexer-at-rollup-job-s-creation-time/245262 "2020-08-17T15:20:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkwarrior](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@darkwarrior](https://discuss.elastic.co/u/darkwarrior)\
**Post date:** [August 17, 2020, 3:20pm UTC](https://discuss.elastic.co/t/how-to-provide-custom-start-date-and-time-to-rollup-job-s-indexer-at-rollup-job-s-creation-time/245262/1 "2020-08-17T15:20:23Z")

</div>

Hey all,

1. On our ES cluster we do create **daily** indices with index-pattern like this =\> "index-20200101" and now we want to rollup documents from those indices with 1-day interval.
2. But we don't want to rollup data from all the indices blindly, we want to start rolling up data after some specific day / after some specific index.  
for example :  
say we have indices from index-20190101, index-20190102, ....., index-20200817 and now if we start the rollup job with index pattern =\> **"index-\*"** , then it will start rolling up data from **"index-20190101"** but we don't want to rollup the data from year 2019, we want to start rolling-up data from **year 2020** (at the same time we don't want to delete those indices from year 2019). So in this case we want to start rolling up data from index **"index-20200101"**
3. I checked the rollup job documentation and did some digging, but didn't find anything useful, so is there any way to do this? any help would be appreciated.

Thanks in advance!

---

<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:** [September 14, 2020, 3:20pm UTC](https://discuss.elastic.co/t/how-to-provide-custom-start-date-and-time-to-rollup-job-s-indexer-at-rollup-job-s-creation-time/245262/2 "2020-09-14T15:20:39Z")

</div>

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