# Timestamp of last attemp of ingestion

**URL:** https://discuss.elastic.co/t/timestamp-of-last-attemp-of-ingestion/377681
**Category:** Logstash
**Created:** [April 30, 2025, 2:54pm UTC](https://discuss.elastic.co/t/timestamp-of-last-attemp-of-ingestion/377681 "2025-04-30T14:54:22Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [April 30, 2025, 4:15pm UTC](https://discuss.elastic.co/t/timestamp-of-last-attemp-of-ingestion/377681/4 "2025-04-30T16:15:56Z")

</div>

Logstash will set the timestamp when it creates the event. You can override that with a date filter. It doesn't change the timestamp if it has to hold the event in a queue.

If you want the timestamp to reflect the time when an event is indexed then I would suggest having elasticsearch add the timestamp, not logstash. [This](https://discuss.elastic.co/t/how-to-add-created-at-and-updated-at-fields/355178) thread might help with that.

---

_[View the full topic](https://discuss.elastic.co/t/timestamp-of-last-attemp-of-ingestion/377681)._
