# Retrieve value & key from json to build data table kibana

**URL:** <https://discuss.elastic.co/t/retrieve-value-key-from-json-to-build-data-table-kibana/282940>\
**Category:** Logstash\
**Created:** [August 31, 2021, 3:37pm UTC](https://discuss.elastic.co/t/retrieve-value-key-from-json-to-build-data-table-kibana/282940 "2021-08-31T15:37:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mira\_9](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Mira\_9](https://discuss.elastic.co/u/Mira_9)\
**Post date:** [August 31, 2021, 3:37pm UTC](https://discuss.elastic.co/t/retrieve-value-key-from-json-to-build-data-table-kibana/282940/1 "2021-08-31T15:37:56Z")

</div>

hey, i'm extracting data from Json file and displaying it in Kibana. i want to create a data table displaying the details for each id and for each category. How can i extract properly the key and the value from the message? Thank you 🥰

Here's an example of my data :

{  
"Course":  
[  
{"id": 110,  
"language": "Python",  
"price": 1932  
},

```
   {"id": 111, 
     "language": "java",
     "price": 1650
   }
   ],

```

"teacher":  
[  
{"id": 1,  
"address": "xxxxx",  
"phoneNumber": 5687954123  
}]  
}

---

<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:** [September 28, 2021, 3:38pm UTC](https://discuss.elastic.co/t/retrieve-value-key-from-json-to-build-data-table-kibana/282940/2 "2021-09-28T15:38:08Z")

</div>

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