# Parse 4 digit millisecond timestamp in correct format and then replace @timestamp with log\_timestamp

**URL:** <https://discuss.elastic.co/t/parse-4-digit-millisecond-timestamp-in-correct-format-and-then-replace-timestamp-with-log-timestamp/146906>\
**Category:** Logstash\
**Created:** [August 31, 2018, 7:01pm UTC](https://discuss.elastic.co/t/parse-4-digit-millisecond-timestamp-in-correct-format-and-then-replace-timestamp-with-log-timestamp/146906 "2018-08-31T19:01:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [August 31, 2018, 10:15pm UTC](https://discuss.elastic.co/t/parse-4-digit-millisecond-timestamp-in-correct-format-and-then-replace-timestamp-with-log-timestamp/146906/2 "2018-08-31T22:15:40Z")

</div>

Hello,

Check this link

[https://discuss.elastic.co/t/what-is-the-date-format-to-be-used-with-logstash-to-match-9-digits-millisecond/107032/2](https://discuss.elastic.co/t/what-is-the-date-format-to-be-used-with-logstash-to-match-9-digits-millisecond/107032/2)

---

_[View the full topic](https://discuss.elastic.co/t/parse-4-digit-millisecond-timestamp-in-correct-format-and-then-replace-timestamp-with-log-timestamp/146906)._
