# From a JSON obtain the following structure of a data-table in Kibana

**URL:** https://discuss.elastic.co/t/from-a-json-obtain-the-following-structure-of-a-data-table-in-kibana/301674
**Category:** Kibana
**Created:** [April 5, 2022, 8:40pm UTC](https://discuss.elastic.co/t/from-a-json-obtain-the-following-structure-of-a-data-table-in-kibana/301674 "2022-04-05T20:40:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Alejandra\_Mata1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandra_mata1/32/103936_2.png) [@Alejandra\_Mata1](https://discuss.elastic.co/u/Alejandra_Mata1)
#### Post date: [April 5, 2022, 8:40pm UTC](https://discuss.elastic.co/t/from-a-json-obtain-the-following-structure-of-a-data-table-in-kibana/301674/1 "2022-04-05T20:40:16Z")

</div>

Hi, how are you?  
I have a problem in a visualization in kibana, I don't know if it is possible from a JSON like this:

[  
{  
field1: "row1Columna1",  
field2: "row1Columna2",  
listas: [  
{  
valor: "r1text1"  
}, {  
valor: "r1text2"  
},  
{  
valor: "r1valor"  
}  
]  
},  
{  
field1: "row2Columna1",  
field2: "row2Columna2",  
listas: [  
{  
valor: "r2text1"  
}, {  
valor: "r2text2"  
},  
{  
valor: "r2valor"  
}  
]  
}  
]  
get a table like this:

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/9/c99d722cf100c81edfc34bafec6486e9cd97573c.png)

or how could I pivot an array?

---

<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: [May 3, 2022, 8:40pm UTC](https://discuss.elastic.co/t/from-a-json-obtain-the-following-structure-of-a-data-table-in-kibana/301674/2 "2022-05-03T20:40:36Z")

</div>

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