nino
(nino)
September 23, 2020, 7:37pm
1
Hello all,
i am having problems trying to parse this date field and set as @timestamp
{
"field_date" => "2020-09-08 0:00:00.0"
}
This try is not running
date {
timezone => "UCT"
match => ["field_date", "yyyy MM dd HH:mm:ss"]
target => "@timestamp"
}
Regards
date {
timezone => "UCT"
match => ["field_date", "yyyy-MM-dd H:mm:ss.s"]
target => "@timestamp"
}
The format needs to match your input.
2020-09-08 0:00:00.0
yyyy-MM-dd H:mm:ss.s
1 Like
nino
(nino)
September 23, 2020, 8:03pm
3
Thanks aaron! i was on the moon
Best
system
(system)
Closed
October 21, 2020, 8:03pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.