Logstash date filter changing my time automatically

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

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

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