# Workaround for nested objects

**URL:** <https://discuss.elastic.co/t/workaround-for-nested-objects/107108>\
**Category:** Kibana\
**Created:** [November 9, 2017, 9:15pm UTC](https://discuss.elastic.co/t/workaround-for-nested-objects/107108 "2017-11-09T21:15:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)\
**Post date:** [November 13, 2017, 2:40pm UTC](https://discuss.elastic.co/t/workaround-for-nested-objects/107108/6 "2017-11-13T14:40:01Z")

</div>

What about flattening your data structure and indexing these as separate documents, is that a possibility? e.g.

```auto
 {
        playerId: 123,
    	firstName: "John",
    	lastName: "Doe",
    	clubName: "Bayern",
       status: "active",
       position: "goal keeper"
    }
 {
        playerId: 123,
    	firstName: "John",
    	lastName: "Doe",
    	clubName: "Manchester United",
       status: "inactive",
       position: "defense"
    }

```

I think that would be easier to work with in Kibana.

---

_[View the full topic](https://discuss.elastic.co/t/workaround-for-nested-objects/107108)._
