Hi All,
I am ingesting documents into ELK using logstash http_poller plugin, there is a static field i have added as "default_date" and the value for this date field i had mentioned as "01-01-1970 00:00:00"
default_date : 01-01-1970 00:00:00
here is my logstash filter
mutate { add_field => { "default_date" => "01-01-1970 00:00:00" } }
date { match => ["[default_date]", "MM-dd-yyyy HH:mm:ss"]
this value is been used for calculating one of the time difference value for us.
The problem is when this is getting into elasticsearch the value changes as "01-01-1970 00:05:30"
default_date : 01.01.1970 00:05:30
Additional 05:30 is getting added, how can i get rid of this, because for my calculation the time should be 00:00:00
Any advice please.
Thanks
Gautham