# How to override @timestamp with your log timestamp in logstash

**URL:** https://discuss.elastic.co/t/how-to-override-timestamp-with-your-log-timestamp-in-logstash/209627
**Category:** Logstash
**Created:** [November 27, 2019, 7:48am UTC](https://discuss.elastic.co/t/how-to-override-timestamp-with-your-log-timestamp-in-logstash/209627 "2019-11-27T07:48:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SoniyaGupta](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@SoniyaGupta](https://discuss.elastic.co/u/SoniyaGupta)
#### Post date: [November 27, 2019, 7:48am UTC](https://discuss.elastic.co/t/how-to-override-timestamp-with-your-log-timestamp-in-logstash/209627/1 "2019-11-27T07:48:26Z")

</div>

I want to override logstash @timestamp: Nov 27, 2019 @ 12:22:22.566  
with field (custom field) ts:Wed 27 Nov 2019 6:52:21:514

---

<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: [November 27, 2019, 4:39pm UTC](https://discuss.elastic.co/t/how-to-override-timestamp-with-your-log-timestamp-in-logstash/209627/2 "2019-11-27T16:39:54Z")

</div>

Use a date filter.

---

<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: [December 25, 2019, 4:40pm UTC](https://discuss.elastic.co/t/how-to-override-timestamp-with-your-log-timestamp-in-logstash/209627/3 "2019-12-25T16:40:00Z")

</div>

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