# How can I search for the latest data entered in the indexes? 

**URL:** <https://discuss.elastic.co/t/how-can-i-search-for-the-latest-data-entered-in-the-indexes/349972>\
**Category:** Elasticsearch\
**Created:** [December 26, 2023, 3:38pm UTC](https://discuss.elastic.co/t/how-can-i-search-for-the-latest-data-entered-in-the-indexes/349972 "2023-12-26T15:38:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 26, 2023, 3:54pm UTC](https://discuss.elastic.co/t/how-can-i-search-for-the-latest-data-entered-in-the-indexes/349972/2 "2023-12-26T15:54:20Z")

</div>

If you have a timestamp field, you can filter on that field to search only in the now/m-15m documents.

---

_[View the full topic](https://discuss.elastic.co/t/how-can-i-search-for-the-latest-data-entered-in-the-indexes/349972)._
