# Getting the formatted fields in a Visualization

**URL:** <https://discuss.elastic.co/t/getting-the-formatted-fields-in-a-visualization/133709>\
**Category:** Kibana\
**Created:** [May 29, 2018, 3:16pm UTC](https://discuss.elastic.co/t/getting-the-formatted-fields-in-a-visualization/133709 "2018-05-29T15:16:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![k\_ly](https://avatars.discourse-cdn.com/v4/letter/k/bbe5ce/32.png) [@k\_ly](https://discuss.elastic.co/u/k_ly)\
**Post date:** [May 29, 2018, 3:16pm UTC](https://discuss.elastic.co/t/getting-the-formatted-fields-in-a-visualization/133709/1 "2018-05-29T15:16:35Z")

</div>

Hi,

I'm working a on a visualization for kibana, however the tabifyAggResponse method only retrieves the the data, and not the field formatted data.

Is there an alternate call to retrieve this information?

Thanks

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [May 30, 2018, 5:14pm UTC](https://discuss.elastic.co/t/getting-the-formatted-fields-in-a-visualization/133709/2 "2018-05-30T17:14:38Z")

</div>

You'll have to use the field formatters inside the index pattern field: `field.format.convert(value)`

---

<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:** [June 27, 2018, 5:14pm UTC](https://discuss.elastic.co/t/getting-the-formatted-fields-in-a-visualization/133709/3 "2018-06-27T17:14:44Z")

</div>

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