I am getting [1] "_dateparsefailure" when trying to replace timestamp
My timestamp is "@timestamp" => 2017-01-23T17:58:23.434Z
and I want to replace it by "GenerateTime" => "2017/23/01 12:58:23" from my input
so I am using below
date {
timezone => "America/New_York"
match => [ "GenerateTime", "YYYY/MM/dd HH:mm:ss" ]
target => "@timestamp"
}
but it gives me [1] "_dateparsefailure" ?
PS
Also I don't understand why timestamp" is 2017-01-23T17:58:23.434Z not 2017/23/01 12:58:23 , 5h difference