# Rollup Aggregation Mismatch in results

**URL:** <https://discuss.elastic.co/t/rollup-aggregation-mismatch-in-results/206621>\
**Category:** Elasticsearch\
**Created:** [November 5, 2019, 1:58pm UTC](https://discuss.elastic.co/t/rollup-aggregation-mismatch-in-results/206621 "2019-11-05T13:58:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinothkumar\_Ganeshan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinothkumar_ganeshan/32/46534_2.png) [@Vinothkumar\_Ganeshan](https://discuss.elastic.co/u/Vinothkumar_Ganeshan)\
**Post date:** [November 5, 2019, 1:58pm UTC](https://discuss.elastic.co/t/rollup-aggregation-mismatch-in-results/206621/1 "2019-11-05T13:58:35Z")

</div>

ELK - 7.4.1  
I have indices in the form of clicks-2019-07-01 date format.

I created an index as clicks-2019-07\* and rollup with the aggregation to find the value count of specific term id.  
Index: clicks-2019-07\* gives - 90k documents and value for id '0000' as 498 (count) I used 30d interval.

Now I decided to do it for the whole complete year, where I used index  
clicks-2019-0\* which is supposed to calculate for the 9 months.  
But I actually got,  
Index: clicks-2019-0\* gives - 27k documents and value for id '0000' as 198(count)

which is supposed to be higher. Please let me know, how to I aggregate for a field with minimum 90 days where indices are as in datewise.

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:** [December 3, 2019, 1:58pm UTC](https://discuss.elastic.co/t/rollup-aggregation-mismatch-in-results/206621/2 "2019-12-03T13:58:42Z")

</div>

Closed on December 3, 2019, 1:58pm UTC

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