# Vega visualization help - display key as string time

**URL:** <https://discuss.elastic.co/t/vega-visualization-help-display-key-as-string-time/153672>\
**Category:** Kibana\
**Created:** [October 23, 2018, 7:35pm UTC](https://discuss.elastic.co/t/vega-visualization-help-display-key-as-string-time/153672 "2018-10-23T19:35:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nyssa](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@nyssa](https://discuss.elastic.co/u/nyssa)\
**Post date:** [October 23, 2018, 7:35pm UTC](https://discuss.elastic.co/t/vega-visualization-help-display-key-as-string-time/153672/1 "2018-10-23T19:35:38Z")

</div>

Hi all - currently working on a vega visualization and not able to figure out the right time any help would be appreciated. I am trying to display the time that we see in the console "key\_as\_string". How do I do this?

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

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 24, 2018, 1:47am UTC](https://discuss.elastic.co/t/vega-visualization-help-display-key-as-string-time/153672/2 "2018-10-24T01:47:04Z")

</div>

I moved this to the Kibana forum as it does not appear to be an Elasticsearch question.

---

<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:** [November 21, 2018, 1:47am UTC](https://discuss.elastic.co/t/vega-visualization-help-display-key-as-string-time/153672/3 "2018-11-21T01:47:06Z")

</div>

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