# Transform Data - Vega Kibana

**URL:** https://discuss.elastic.co/t/transform-data-vega-kibana/314545
**Category:** Kibana
**Tags:** vega
**Created:** [September 16, 2022, 3:24am UTC](https://discuss.elastic.co/t/transform-data-vega-kibana/314545 "2022-09-16T03:24:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Irwan\_Kurniawan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/irwan_kurniawan/32/101755_2.png) [@Irwan\_Kurniawan](https://discuss.elastic.co/u/Irwan_Kurniawan)
#### Post date: [September 16, 2022, 3:24am UTC](https://discuss.elastic.co/t/transform-data-vega-kibana/314545/1 "2022-09-16T03:24:49Z")

</div>

How to transform data that I already get from index like this:

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

Into the format like this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/6/d6b63799cacc2d88ce450e18059e4b82cfa81cfc.png)

So the Type and Value can be separated in different column. I only know how to do this in Vega-Lite but not in Vega.

---

<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: [October 14, 2022, 3:25am UTC](https://discuss.elastic.co/t/transform-data-vega-kibana/314545/2 "2022-10-14T03:25:20Z")

</div>

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