# Problems with Viewing a Query Only the Last Modified Date and ID

**URL:** <https://discuss.elastic.co/t/problems-with-viewing-a-query-only-the-last-modified-date-and-id/122726>\
**Category:** Kibana\
**Created:** [March 6, 2018, 2:19pm UTC](https://discuss.elastic.co/t/problems-with-viewing-a-query-only-the-last-modified-date-and-id/122726 "2018-03-06T14:19:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![euclidesfmjr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/euclidesfmjr/32/18766_2.png) [@euclidesfmjr](https://discuss.elastic.co/u/euclidesfmjr)\
**Post date:** [March 6, 2018, 2:19pm UTC](https://discuss.elastic.co/t/problems-with-viewing-a-query-only-the-last-modified-date-and-id/122726/1 "2018-03-06T14:19:09Z")

</div>

I have a "Doubt" problem if it is possible to do that, when I create in the view fields in term, "Modification date" and "ID", I would like to get the last modification, how do I filter this  
not to repeat the same ID. As pictured below

 ![dadoselk](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f7165cfd144a8d2cb768eaada67febe3fdf41f51.jpg)

please Help-me rsrs

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [March 7, 2018, 9:10pm UTC](https://discuss.elastic.co/t/problems-with-viewing-a-query-only-the-last-modified-date-and-id/122726/2 "2018-03-07T21:10:13Z")

</div>

hi @euclidesfmjr,

there' s no out-of-the-box support to get the "last modified document". but you could try using t he "top hit" metric.

For example, this configuration grabs the last time a `url.raw` has been requested.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/c/2c4fb88851a5460c695e60698795331f21cd8364.png)

---

<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:** [April 4, 2018, 9:10pm UTC](https://discuss.elastic.co/t/problems-with-viewing-a-query-only-the-last-modified-date-and-id/122726/3 "2018-04-04T21:10:26Z")

</div>

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