# JSON Array treatment in a visualization

**URL:** https://discuss.elastic.co/t/json-array-treatment-in-a-visualization/321058
**Category:** Kibana
**Created:** [December 12, 2022, 4:26pm UTC](https://discuss.elastic.co/t/json-array-treatment-in-a-visualization/321058 "2022-12-12T16:26:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pedrodantas](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pedrodantas](https://discuss.elastic.co/u/pedrodantas)
#### Post date: [December 12, 2022, 4:26pm UTC](https://discuss.elastic.co/t/json-array-treatment-in-a-visualization/321058/1 "2022-12-12T16:26:46Z")

</div>

Hello!

I was wondering if there is any way to display the contents of a JSON Array that is received in the Elastic logs in a Kibana visualization.

My application is sending JSON logs to Kibana. One of the log fields is a **details** array that is composed of a group of entities and their respective messages.

```auto
{
  "details": [
    {
      "entityId": "1",
      "message": "Product."
    },
    {
      "entityId": "2",
      "message": "Document."
    },
    {
      "entityId": "3",
      "message": "Document."
    }
  ]
}

```

I would like to use the Table visualization to insert something like this into my company's dashboard.

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a750188205398313cdccc06768799448af327ccf.png)

However, I can't seem to get around to it. I can't find a way to do this because of how Kibana aggregates information. Is there any way where I can easily do this?

Thank you

---

<div class="post-metadata">

### Author: ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)
#### Post date: [December 27, 2022, 6:07pm UTC](https://discuss.elastic.co/t/json-array-treatment-in-a-visualization/321058/2 "2022-12-27T18:07:23Z")

</div>

Indeed Kibana is more suited to work with aggregated data than with individual documents, and support for nested fields (which I understand you are using) is pretty limited in the product.

Check this long-standing [issue](https://github.com/elastic/kibana/issues/1084) for more details but in any case the rendering of individual documents is done with Discover and it can only render the JSON representation of your nested field.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/a/7a62fbb4810449ea44e1d2aeaadf27ae9fdcc213.png)

---

<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 24, 2023, 6:08pm UTC](https://discuss.elastic.co/t/json-array-treatment-in-a-visualization/321058/3 "2023-01-24T18:08:20Z")

</div>

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