# Wrong logstash log time

**URL:** <https://discuss.elastic.co/t/wrong-logstash-log-time/173578>\
**Category:** Logstash\
**Created:** [March 23, 2019, 6:09am UTC](https://discuss.elastic.co/t/wrong-logstash-log-time/173578 "2019-03-23T06:09:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Post date:** [March 23, 2019, 6:09am UTC](https://discuss.elastic.co/t/wrong-logstash-log-time/173578/1 "2019-03-23T06:09:43Z")

</div>

hi all,  
Notably due to daylight savings time, the system clock has been adjusted forward one hour but the logstash log time did not changed. In the below example the time of log is "16:38:43" which should be "17:38:43". How can i handle this issue? any advice will be so appreciated. Many thanks.

`[2019-03-22T16:38:43,139][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=>9600}`

---

<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:** [March 23, 2019, 1:10pm UTC](https://discuss.elastic.co/t/wrong-logstash-log-time/173578/2 "2019-03-23T13:10:22Z")

</div>

If you tell the date filter the right timezone it should take care of daylight saving (if applicable) when converting to UTC.

---

<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 20, 2019, 1:10pm UTC](https://discuss.elastic.co/t/wrong-logstash-log-time/173578/3 "2019-04-20T13:10:29Z")

</div>

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