# Issue in reporting from Object Structure

**URL:** <https://discuss.elastic.co/t/issue-in-reporting-from-object-structure/206832>\
**Category:** Kibana\
**Created:** [November 6, 2019, 4:16pm UTC](https://discuss.elastic.co/t/issue-in-reporting-from-object-structure/206832 "2019-11-06T16:16:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kailash](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@kailash](https://discuss.elastic.co/u/kailash)\
**Post date:** [November 6, 2019, 4:16pm UTC](https://discuss.elastic.co/t/issue-in-reporting-from-object-structure/206832/1 "2019-11-06T16:16:35Z")

</div>

We using Fix Protocol Plugin (open source from Connamara) and indexing Fix logs. There is field NoMDEntries which is struct/object. The structure has price and entry type. If we do a visualization with entry type versus avg price, it gives same price across both. The issue seem to be related to behavior of Array as documented.

It is true that we can not group on object component fields? How can we convert Object(Array) to nested. The PUT gives error

reason": "object mapping [NoMDEntries] can't be changed from non-nested to nested".

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [November 18, 2019, 6:23pm UTC](https://discuss.elastic.co/t/issue-in-reporting-from-object-structure/206832/2 "2019-11-18T18:23:09Z")

</div>

You would have to change the mapping and reindex the data in order to flatten the data.

---

<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 16, 2019, 6:23pm UTC](https://discuss.elastic.co/t/issue-in-reporting-from-object-structure/206832/3 "2019-12-16T18:23:21Z")

</div>

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