# Metric visualization and formatted display of timestamps (5.5.0)

**URL:** https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061
**Category:** Kibana
**Created:** [July 13, 2017, 5:22pm UTC](https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061 "2017-07-13T17:22:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![CraigFoote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/craigfoote/32/4571_2.png) [@CraigFoote](https://discuss.elastic.co/u/CraigFoote)
#### Post date: [July 13, 2017, 5:22pm UTC](https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061/1 "2017-07-13T17:22:44Z")

</div>

I have a metric visualization with min. and max. timestamps. Prior to version 5.5.0, the visualization would format their display as human-readable text, e.g. "July 13, 2017 12:00:00" but in version 5.5.0 the numeric long value is displayed. Is there anything I can do to display it formatted again, perhaps in the 'advanced" section of the bucket (or any other way)?

Craig

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [July 13, 2017, 6:37pm UTC](https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061/2 "2017-07-13T18:37:21Z")

</div>

Hmm that's odd, I'm still getting human readable dates by default. If you go the index pattern management screen and click the pencil icon next to the field you're aggregating on, is it recognized as a date type field and what is the "Format" set as?

Here's what the field edit screen should look like:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/0/701f4ec5ea67f34e3205de86aba5fb6bf32d604c.png)

---

<div class="post-metadata">

### Author: ![CraigFoote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/craigfoote/32/4571_2.png) [@CraigFoote](https://discuss.elastic.co/u/CraigFoote)
#### Post date: [July 13, 2017, 6:49pm UTC](https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061/3 "2017-07-13T18:49:02Z")

</div>

Thanks for responding Matt. The format was set to default. I set it to Date, it displayed the format as in your screenshot, and clicked Update Field then viewed the visualization and it still displays the long ☹

---

<div class="post-metadata">

### Author: ![CraigFoote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/craigfoote/32/4571_2.png) [@CraigFoote](https://discuss.elastic.co/u/CraigFoote)
#### Post date: [July 13, 2017, 7:03pm UTC](https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061/4 "2017-07-13T19:03:28Z")

</div>

Ok I have more info. My metric actually has a count as the first metric then the min/max @timestamps. If I remove the count, the timestamps display formatted. If I put the count back in, the longs are displayed.

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [July 13, 2017, 7:20pm UTC](https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061/5 "2017-07-13T19:20:58Z")

</div>

Ah ha, looks like a bug! If you put the count at the end, it gets formatted as a date too 😅

I filed [a ticket](https://github.com/elastic/kibana/issues/12838) on our Github repo. Thanks for digging in and helping us find this issue!

---

<div class="post-metadata">

### Author: ![CraigFoote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/craigfoote/32/4571_2.png) [@CraigFoote](https://discuss.elastic.co/u/CraigFoote)
#### Post date: [July 14, 2017, 5:46pm UTC](https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061/6 "2017-07-14T17:46:53Z")

</div>

No problem. Thanks for filing the ticket. I'll create separate visualizations for now.

---

<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: [August 11, 2017, 5:47pm UTC](https://discuss.elastic.co/t/metric-visualization-and-formatted-display-of-timestamps-5-5-0/93061/7 "2017-08-11T17:47:04Z")

</div>

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