# Logstash date filter changing my time automatically

**URL:** <https://discuss.elastic.co/t/logstash-date-filter-changing-my-time-automatically/132743>\
**Category:** Logstash\
**Created:** [May 22, 2018, 7:57am UTC](https://discuss.elastic.co/t/logstash-date-filter-changing-my-time-automatically/132743 "2018-05-22T07:57:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![devika\_sudheer](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@devika\_sudheer](https://discuss.elastic.co/u/devika_sudheer)\
**Post date:** [May 22, 2018, 7:57am UTC](https://discuss.elastic.co/t/logstash-date-filter-changing-my-time-automatically/132743/1 "2018-05-22T07:57:03Z")

</div>

My log data has a timestamp of the form  
Tue May 22 07:52:08 2018 825

I used logstash to convert this into date

date {

match =\> ["datetime", "EEE MMM dd HH:mm:ss yyyy SSS"]

target =\> "datetime"

}

But now the time shown is 2018-05-22T14:52:08.825Z

Why there is a difference of 7hrs?

However when i plotted it in kibana they showed the time as 07 itself

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 22, 2018, 8:00am UTC](https://discuss.elastic.co/t/logstash-date-filter-changing-my-time-automatically/132743/2 "2018-05-22T08:00:36Z")

</div>

Timestamps are always stored in UTC in Elasticsearch, but Kibana will translate this to your local timezone in the UI.

---

<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:** [June 19, 2018, 8:00am UTC](https://discuss.elastic.co/t/logstash-date-filter-changing-my-time-automatically/132743/3 "2018-06-19T08:00:55Z")

</div>

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