# Timestamp of index

**URL:** <https://discuss.elastic.co/t/timestamp-of-index/122860>\
**Category:** Elasticsearch\
**Created:** [March 7, 2018, 10:35am UTC](https://discuss.elastic.co/t/timestamp-of-index/122860 "2018-03-07T10:35:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Stevens](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Steve\_Stevens](https://discuss.elastic.co/u/Steve_Stevens)\
**Post date:** [March 7, 2018, 10:35am UTC](https://discuss.elastic.co/t/timestamp-of-index/122860/1 "2018-03-07T10:35:15Z")

</div>

Given there is a time delay between a message being logged at source and the message being submitted into elasticsearch, is there a mechanism for identifying the time that the log was stored in elasticsearch. ie, is there a way to store the timestamp upon index?

I read that this feature used to exist but has been removed.

I'd like to be able to build xpack watchers that only query records that have 'appeared' in the last X minutes, to ensure no messages are missed off.

Thanks

---

<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, 10:36am UTC](https://discuss.elastic.co/t/timestamp-of-index/122860/2 "2018-04-04T10:36:02Z")

</div>

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