# Aggregation issue after upgrading elastic 7.16.2

**URL:** <https://discuss.elastic.co/t/aggregation-issue-after-upgrading-elastic-7-16-2/292645>\
**Category:** Kibana\
**Created:** [December 22, 2021, 6:45am UTC](https://discuss.elastic.co/t/aggregation-issue-after-upgrading-elastic-7-16-2/292645 "2021-12-22T06:45:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalchand\_rajak](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lalchand\_rajak](https://discuss.elastic.co/u/lalchand_rajak)\
**Post date:** [December 22, 2021, 6:45am UTC](https://discuss.elastic.co/t/aggregation-issue-after-upgrading-elastic-7-16-2/292645/1 "2021-12-22T06:45:37Z")

</div>

unable to do the aggregation in Kibana for entire time range after the upgrading to new version i.e 7.16.2 .

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/4/74dcd3cbed21841225f2ccb1ce0c50257b88b9e4.png)  
but when i am changing to last value it's working.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/e/5e48afc25c096182762e657837a15bae2328234c.png)

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [December 22, 2021, 11:22am UTC](https://discuss.elastic.co/t/aggregation-issue-after-upgrading-elastic-7-16-2/292645/2 "2021-12-22T11:22:24Z")

</div>

Hey! We decided to disable some aggregations for the entire timerange mode because they don't work correctly at this mode. Here is the issue [[TSVB] `series_agg` returns invalid data for 'entire time range' mode · Issue #100998 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/100998)

There is a bug there though, we should not disable the Series agg and the bucket script. We are working on enabling these two on 7.17. Here is the PR that addresses this fix [[TSVB] "Bucket script" and "Series Agg" should be active for "timerange" mode by alexwizp · Pull Request #121301 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/121301)

---

<div class="post-metadata">

**Author:** ![lalchand\_rajak](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lalchand\_rajak](https://discuss.elastic.co/u/lalchand_rajak)\
**Post date:** [December 22, 2021, 11:26am UTC](https://discuss.elastic.co/t/aggregation-issue-after-upgrading-elastic-7-16-2/292645/3 "2021-12-22T11:26:34Z")

</div>

Thanks for the confirmation.

---

<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:** [January 19, 2022, 11:26am UTC](https://discuss.elastic.co/t/aggregation-issue-after-upgrading-elastic-7-16-2/292645/4 "2022-01-19T11:26:44Z")

</div>

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