# How to use the last data in the Visualize?

**URL:** https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404
**Category:** Kibana
**Created:** [January 7, 2021, 4:20am UTC](https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404 "2021-01-07T04:20:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![111395](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111395/32/76933_2.png) [@111395](https://discuss.elastic.co/u/111395)
#### Post date: [January 7, 2021, 4:20am UTC](https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404/1 "2021-01-07T04:20:46Z")

</div>

Kibana is usually obtained according to the time period。  
But, I need the last data visualization。  
You can understand it as looking for data by the number of times，such as last 1, last 5  
kibana version:7.4.2  
Thanks

---

<div class="post-metadata">

### Author: ![myasonik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/myasonik/32/62369_2.png) [@myasonik](https://discuss.elastic.co/u/myasonik)
#### Post date: [January 7, 2021, 6:11pm UTC](https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404/2 "2021-01-07T18:11:11Z")

</div>

That's not a feature currently supported by Kibana. If it's something you'd like to see, I'd encourage you to open a [feature request on Github](https://github.com/elastic/kibana/issues/new?assignees=&labels=&template=Feature_request.md)!

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [January 7, 2021, 7:11pm UTC](https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404/3 "2021-01-07T19:11:24Z")

</div>

There is actually one place that you can use this feature: Data tables support the "Top hits" metric, which can show you the "Last 1" or "Last 5" values.

---

<div class="post-metadata">

### Author: ![111395](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111395/32/76933_2.png) [@111395](https://discuss.elastic.co/u/111395)
#### Post date: [January 8, 2021, 10:44am UTC](https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404/4 "2021-01-08T10:44:31Z")

</div>

I'm trying to use top hits. Thank you for your reply.

---

<div class="post-metadata">

### Author: ![111395](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111395/32/76933_2.png) [@111395](https://discuss.elastic.co/u/111395)
#### Post date: [January 8, 2021, 10:47am UTC](https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404/5 "2021-01-08T10:47:03Z")

</div>

I'm trying to use top hits. Thanks。

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [January 8, 2021, 4:29pm UTC](https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404/6 "2021-01-08T16:29:17Z")

</div>

Yes, top hits can be used in the data table.

---

<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: [February 5, 2021, 4:29pm UTC](https://discuss.elastic.co/t/how-to-use-the-last-data-in-the-visualize/260404/7 "2021-02-05T16:29:38Z")

</div>

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