# Latest value as a metric

**URL:** https://discuss.elastic.co/t/latest-value-as-a-metric/148954
**Category:** Kibana
**Created:** [September 18, 2018, 9:51am UTC](https://discuss.elastic.co/t/latest-value-as-a-metric/148954 "2018-09-18T09:51:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gll.aspida](https://avatars.discourse-cdn.com/v4/letter/g/50afbb/32.png) [@gll.aspida](https://discuss.elastic.co/u/gll.aspida)
#### Post date: [September 18, 2018, 9:51am UTC](https://discuss.elastic.co/t/latest-value-as-a-metric/148954/1 "2018-09-18T09:51:19Z")

</div>

Hello, I am trying to make a visualization which will have the values of a Term in the x axis and want to have the latest value of another field on the y axis. I searched and found some answers  
[here](https://github.com/elastic/kibana/issues/678) and [here](https://discuss.elastic.co/t/display-latest-value-in-a-metric/114930) but my main problem using the GUI of Kibana at least, is that it totally lacks the Top Hit option as a metric (f.e. for a bar chart).

Is there something I am missing for me to be able to use the Top Hit metric? Is there a more recent or proper way of doing such a thing?

I should note that I not totally familiar with the console part of Kibana.

---

<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: [September 19, 2018, 4:37pm UTC](https://discuss.elastic.co/t/latest-value-as-a-metric/148954/2 "2018-09-19T16:37:47Z")

</div>

Which version of Kibana are you using? It's possible that Top Hit was introduced in a later version than you're using.

---

<div class="post-metadata">

### Author: ![gll.aspida](https://avatars.discourse-cdn.com/v4/letter/g/50afbb/32.png) [@gll.aspida](https://discuss.elastic.co/u/gll.aspida)
#### Post date: [September 21, 2018, 2:20pm UTC](https://discuss.elastic.co/t/latest-value-as-a-metric/148954/3 "2018-09-21T14:20:20Z")

</div>

Kibana Version: 5.1.1  
Build 14566, Commit SHA 85a6f4da

I installed through a semi automated way and I thought I had installed all the latestet (and greatest) (CentOS7 machine). As it seems this was not the case. I already upgraded. Thank you for the simple but to the point suggestion. Sometimes we miss the most obvious. although we know it

---

<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 19, 2018, 2:22pm UTC](https://discuss.elastic.co/t/latest-value-as-a-metric/148954/4 "2018-10-19T14:22:59Z")

</div>

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