# Nested object fields not visible in Kibana visualizations

**URL:** <https://discuss.elastic.co/t/nested-object-fields-not-visible-in-kibana-visualizations/355058>\
**Category:** Kibana\
**Created:** [March 8, 2024, 6:47pm UTC](https://discuss.elastic.co/t/nested-object-fields-not-visible-in-kibana-visualizations/355058 "2024-03-08T18:47:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamV9](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samv9/32/123391_2.png) [@SamV9](https://discuss.elastic.co/u/SamV9)\
**Post date:** [March 8, 2024, 6:47pm UTC](https://discuss.elastic.co/t/nested-object-fields-not-visible-in-kibana-visualizations/355058/1 "2024-03-08T18:47:49Z")

</div>

Hi guys, I am new to the ELK stack. I have been trying to build a visualization in Kibana that involves nested object fields. But have had no luck finding any information or resource on how to accomplish that. Can someone please help guide

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [March 19, 2024, 7:51pm UTC](https://discuss.elastic.co/t/nested-object-fields-not-visible-in-kibana-visualizations/355058/2 "2024-03-19T19:51:58Z")

</div>

Hi, the Kibana visualization types do not support nested object fields. However, if you are able to flatten the data before indexing, you will have luck in visualizing the data that way. You can use a Transform to do this, but it doesn't directly support flattening nested data - you will need to create a custom Transform to do it.

For more on Transforms, see:

- [https://www.elastic.co/guide/en/elasticsearch/reference/current/transform-examples.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/transform-examples.html)

Elasticsearch also provides a `flattened` data type that can be used to flatten the data. Using that, a nested object will be mapped as a single field. To visualize fields mapped as `flattened`, you can use Runtime fields to define fields you need for specific use.

For more on the `flattened` type and runtime fields, see:

- [https://www.elastic.co/guide/en/elasticsearch/reference/current/flattened.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/flattened.html)
- [https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.html)

---

<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:** [April 16, 2024, 7:52pm UTC](https://discuss.elastic.co/t/nested-object-fields-not-visible-in-kibana-visualizations/355058/3 "2024-04-16T19:52:59Z")

</div>

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