Hello all,
i need help setting @timestamp from fields, why date plugin is not parsing my custom fill_date correctly?
mutate {
add_field => { "fill_date" => "%{FillDate} %{FillTime}" }
}
date {
timezone => "UCT"
match => ["fill_date", "yyyy-MM-dd HH:mm:ss.s"]
target => "@timestamp"
}
logstash output
{
"FillDate" => "2020-11-10",
"FillTime" => "10:30:33.286000",
"fill_date" => "2020-11-10 10:30:33.286000",
"@timestamp" => 2020-11-22T11:56:02.736Z
}