# Cannot aggregate after upgrading to 6.x

**URL:** <https://discuss.elastic.co/t/cannot-aggregate-after-upgrading-to-6-x/165644>\
**Category:** Kibana\
**Created:** [January 24, 2019, 7:04pm UTC](https://discuss.elastic.co/t/cannot-aggregate-after-upgrading-to-6-x/165644 "2019-01-24T19:04:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rubaiyat\_Islam\_Sadat](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@Rubaiyat\_Islam\_Sadat](https://discuss.elastic.co/u/Rubaiyat_Islam_Sadat)\
**Post date:** [January 24, 2019, 7:04pm UTC](https://discuss.elastic.co/t/cannot-aggregate-after-upgrading-to-6-x/165644/1 "2019-01-24T19:04:38Z")

</div>

Hi,  
Our ES+Kibana was on 5.x. We also keep daily index with the same fields in those indices. Lets say one field is called "orders" which is a string. After we upgraded to ES+Kibana to 6.x, the field now appears as doc.orders and cannot aggregate and create any visualization over that field? Am I missing something very obvious? Please any help is much appreciated!

---

<div class="post-metadata">

**Author:** ![Rubaiyat\_Islam\_Sadat](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@Rubaiyat\_Islam\_Sadat](https://discuss.elastic.co/u/Rubaiyat_Islam_Sadat)\
**Post date:** [January 24, 2019, 7:09pm UTC](https://discuss.elastic.co/t/cannot-aggregate-after-upgrading-to-6-x/165644/2 "2019-01-24T19:09:56Z")

</div>

my bad, some obvious things I missed. I was actually looking at multiple indices with very different mappings.

---

<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:** [February 21, 2019, 7:12pm UTC](https://discuss.elastic.co/t/cannot-aggregate-after-upgrading-to-6-x/165644/3 "2019-02-21T19:12:42Z")

</div>

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