# How to access parent JSON object in Kibana?

**URL:** https://discuss.elastic.co/t/how-to-access-parent-json-object-in-kibana/53790
**Category:** Kibana
**Created:** [June 23, 2016, 3:04pm UTC](https://discuss.elastic.co/t/how-to-access-parent-json-object-in-kibana/53790 "2016-06-23T15:04:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![keya](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@keya](https://discuss.elastic.co/u/keya)
#### Post date: [June 23, 2016, 3:04pm UTC](https://discuss.elastic.co/t/how-to-access-parent-json-object-in-kibana/53790/1 "2016-06-23T15:04:17Z")

</div>

Hi,  
I have a JSON objects in my logs and I want to view the parent object as a whole instead of all subfields separately. How can I view that in KIbana?

Example:  
This is a sample message form the logs:  
Note: the object inside message can have different fields everytime i.e. tag1, tag2, tag3 can be differnet tags

{"time": "2016-06-21T17:24:24.480Z", "level": "DEBUG", "category": "sample.js", "hostname": "xyz", "message": {  
"id": "1111",  
"name": "asdf",  
"tag1": "zzz",  
"tag2": value2,  
"tag3": "value3"  
}}

In Kibana, I would like to view "message" as an object , how can I see that? Right now on Discover tab, it shows as message.tag1, message.tag2,etc

Is there a way to view it as message as a whole with all sub tag-value pairs??

Thanks

---

<div class="post-metadata">

### Author: ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)
#### Post date: [June 23, 2016, 4:23pm UTC](https://discuss.elastic.co/t/how-to-access-parent-json-object-in-kibana/53790/2 "2016-06-23T16:23:18Z")

</div>

@keya,

So it sounds like you want to be able to view/explore your data in a structured format, ie:  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/6b4b2fe8fb496465ca105cb548ae76682ac1f54c.png)

If that is the case, unfortunately that is not possible. Elasticsearch flattens all of the documents when they are indexed.

---

<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: [July 6, 2017, 1:49pm UTC](https://discuss.elastic.co/t/how-to-access-parent-json-object-in-kibana/53790/3 "2017-07-06T13:49:27Z")

</div>


