Time difference in log times

Hi, i have added a new time field for my log parser and there is a time difference of 2:30 in time that is recorded in ES and the log time. PFA.

grok { match => { "message" => "%{TIMESTAMP_ISO8601:time} \[%{DATA:pool}\] %{DATA:metric} %{DATA:metricname} %{DATA:datatype} %{NUMBER:metricvalue:float} %{GREEDYDATA:unit}" } }
date { match => [ "time" , "ISO8601", "yyyy-MM-dd HH:mm:ss.SSS" ]
                   target =>"time" }

Timestamps in logstash and elasticsearch are always stored in UTC. The timezone option to the date filter is used to tell it what timezone the logs are in.

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