# Latest Record

**URL:** <https://discuss.elastic.co/t/latest-record/139981>\
**Category:** Kibana\
**Created:** [July 13, 2018, 4:47pm UTC](https://discuss.elastic.co/t/latest-record/139981 "2018-07-13T16:47:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fernando.costa](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@fernando.costa](https://discuss.elastic.co/u/fernando.costa)\
**Post date:** [July 13, 2018, 4:47pm UTC](https://discuss.elastic.co/t/latest-record/139981/1 "2018-07-13T16:47:56Z")

</div>

Hi all,

I want to plot a coordinate map with only the latest records of an index. My problem is that the timestamp is different for each type of document I want to show. Is this possible? I have scrapped the whole internet and I can't find the answer..

Thank you,  
Fernando Costa

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [July 17, 2018, 1:22pm UTC](https://discuss.elastic.co/t/latest-record/139981/2 "2018-07-17T13:22:35Z")

</div>

Hi @fernando.costa,

What do you mean `the timestamp is different for each type of document`? Do you mean it's in a different field, or it's represented differently?

---

<div class="post-metadata">

**Author:** ![fernando.costa](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@fernando.costa](https://discuss.elastic.co/u/fernando.costa)\
**Post date:** [July 17, 2018, 2:04pm UTC](https://discuss.elastic.co/t/latest-record/139981/3 "2018-07-17T14:04:39Z")

</div>

Hi Chris,

I mean that my data has different "collect" times. Example: I have some data that is collected every 15 min, other every 3 hours, other every month. I want to represent only the latest values,based on the timestamp, of each type of data in the same coordinate map. Is it possible or am I asking the wrong question?

Best Regards,  
Fernando Costa

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [July 17, 2018, 5:21pm UTC](https://discuss.elastic.co/t/latest-record/139981/4 "2018-07-17T17:21:02Z")

</div>

Unfortunately, that's not possible but feel free [to open a feature request](https://github.com/elastic/kibana/issues/new?template=Feature_request.md) and follow progress there

---

<div class="post-metadata">

**Author:** ![fernando.costa](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@fernando.costa](https://discuss.elastic.co/u/fernando.costa)\
**Post date:** [July 18, 2018, 2:02pm UTC](https://discuss.elastic.co/t/latest-record/139981/5 "2018-07-18T14:02:01Z")

</div>

To everyone also trying to get the latest record, I found a way to do it. User the filter in the "Discover" tab to create a saved search with the latest records.

Example:

- dataOne; refreshed every 5 min.
- dataTwo: refreshed every 30 days.

Filter Example:  
(datatype : "dataOne" and timestamp \>= now-5m) or (datatype : "dataTwo" and timestamp \>= now-30d).

This way you get the latest records of each type!

I hope it helps anothers like me.

Thank you,  
Fernando Costa

---

<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 15, 2018, 2:02pm UTC](https://discuss.elastic.co/t/latest-record/139981/6 "2018-08-15T14:02:04Z")

</div>

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