# Validating Rollup index

**URL:** <https://discuss.elastic.co/t/validating-rollup-index/300799>\
**Category:** Elasticsearch\
**Tags:** rollups\
**Created:** [March 28, 2022, 5:10am UTC](https://discuss.elastic.co/t/validating-rollup-index/300799 "2022-03-28T05:10:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![b-v](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@b-v](https://discuss.elastic.co/u/b-v)\
**Post date:** [March 28, 2022, 5:10am UTC](https://discuss.elastic.co/t/validating-rollup-index/300799/1 "2022-03-28T05:10:14Z")

</div>

How to validate if the rolled up index has all the data from the source index. I have a rollup job scheduled to run everyday. I will be deleting the source index after the rollup schedule is done, I want to know if the rolled up index has all the data before deleting the source index.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 28, 2022, 6:36am UTC](https://discuss.elastic.co/t/validating-rollup-index/300799/2 "2022-03-28T06:36:05Z")

</div>

Being a rollup, that will depend on what you have configured. The concept of it is to be a summary after all, which can never be all the data.

---

<div class="post-metadata">

**Author:** ![b-v](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@b-v](https://discuss.elastic.co/u/b-v)\
**Post date:** [March 28, 2022, 12:45pm UTC](https://discuss.elastic.co/t/validating-rollup-index/300799/3 "2022-03-28T12:45:30Z")

</div>

Let me rephrase it, Say I have 10 fields and 300 documents in the source index, I'm rolling up 5 fields, how to validate that I have all the 300 documents in the rolled up index too?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 28, 2022, 10:26pm UTC](https://discuss.elastic.co/t/validating-rollup-index/300799/4 "2022-03-28T22:26:41Z")

</div>

Can you share your rollup config?

---

<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:** [April 25, 2022, 10:27pm UTC](https://discuss.elastic.co/t/validating-rollup-index/300799/5 "2022-04-25T22:27:16Z")

</div>

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