# Get "Objects in arrays are not well supported" with new schema in Kibana

**URL:** <https://discuss.elastic.co/t/get-objects-in-arrays-are-not-well-supported-with-new-schema-in-kibana/206905>\
**Category:** Kibana\
**Created:** [November 7, 2019, 6:31am UTC](https://discuss.elastic.co/t/get-objects-in-arrays-are-not-well-supported-with-new-schema-in-kibana/206905 "2019-11-07T06:31:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arab.Soheyl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arab.soheyl/32/28068_2.png) [@Arab.Soheyl](https://discuss.elastic.co/u/Arab.Soheyl)\
**Post date:** [November 7, 2019, 6:31am UTC](https://discuss.elastic.co/t/get-objects-in-arrays-are-not-well-supported-with-new-schema-in-kibana/206905/1 "2019-11-07T06:31:10Z")

</div>

I have a multi log type in my system. I want to aggregate this Log and index it into Elasticsearch. my final schema is below.

```
{
    "id": 1,
    "name": 2,
    "history": [
        {
            "login": {
                "time": "123",
                "text": "aaa"
            },
            "logout": {
                "time": "124",
                "text": "bbb"
            }
        },
        {
            "login": {
                "time": "125",
                "text": "ccc"
            },
            "logout": {
                "time": "126",
                "text": "ddd"
            }
        }
    ]
}

```

When I index this schema to Elsaticsearch search I get below warning in Kibana(Discover tab).

> Objects in arrays are not well supported

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9be0510c39726495d9eb34136d3bc0081f824113.png)

but I can filter on all fields!

- why this warning show?
- Elasticsearch is not supported object in array?
- What do I do?
- is another way to index this type of schema?

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [November 7, 2019, 3:16pm UTC](https://discuss.elastic.co/t/get-objects-in-arrays-are-not-well-supported-with-new-schema-in-kibana/206905/2 "2019-11-07T15:16:32Z")

</div>

Hello Sohyel,

This is an old issue in Kibana. There are several issues capturing it on Github but you might want to look at [this more recent one](https://github.com/elastic/kibana/issues/1084) which includes some relevant links and suggestions for workarounds. Also see the linked PR (which is in-progress) at the bottom!

Regards,  
Aaron

---

<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 5, 2019, 3:16pm UTC](https://discuss.elastic.co/t/get-objects-in-arrays-are-not-well-supported-with-new-schema-in-kibana/206905/3 "2019-12-05T15:16:47Z")

</div>

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