# Search key\_value\_pair to create data table in Kibana

**URL:** <https://discuss.elastic.co/t/search-key-value-pair-to-create-data-table-in-kibana/223886>\
**Category:** Kibana\
**Created:** [March 17, 2020, 9:28am UTC](https://discuss.elastic.co/t/search-key-value-pair-to-create-data-table-in-kibana/223886 "2020-03-17T09:28:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![salunkerahul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salunkerahul/32/47522_2.png) [@salunkerahul](https://discuss.elastic.co/u/salunkerahul)\
**Post date:** [March 17, 2020, 9:28am UTC](https://discuss.elastic.co/t/search-key-value-pair-to-create-data-table-in-kibana/223886/1 "2020-03-17T09:28:19Z")

</div>

I have the following `key_value_pairs` from Logstash made available in Kibana  
`PROD=TEST_NAME VERS=113 35=A 34=1 49=DLR TIME=20200316-21:31:43.464`

My use of Kibana with the log ingested, is to create a data table without any aggregation wherein **key** in `key_value_pairs` corresponding to columns and the **values** representing cell values.  
for e.g. PROD, VERS, 35, 49, TIME are the columns that I need to add in the "Discover" tab.

Is it possible to add specific keys from key\_value\_pairs as a "Selected Field"?  
Or do I have to write a plugin to process they key\_value\_pairs as a visualization plugin?

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [March 17, 2020, 11:31am UTC](https://discuss.elastic.co/t/search-key-value-pair-to-create-data-table-in-kibana/223886/2 "2020-03-17T11:31:34Z")

</div>

Hey @salunkerahul,

If I understand correctly, it sounds like you're looking for a pivot table. Kibana doesn't have built-in support for these yet, but there is an open issue where we're tracking this: [https://github.com/elastic/kibana/issues/5049](https://github.com/elastic/kibana/issues/5049)

This link also references a couple of community plugins which attempt to offer this functionality, but I haven't personally looked into them

---

<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 14, 2020, 11:31am UTC](https://discuss.elastic.co/t/search-key-value-pair-to-create-data-table-in-kibana/223886/3 "2020-04-14T11:31:40Z")

</div>

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