Hi,
Looking for help with a date and time filter in logstash. I created a new Time field putting together a previous date and time field that I subsequently drop.
The new Time field looks like the below in my output:
"Time":"2021-01-05 00:00:10"
I have tried the following filters, but still not getting it to replace the @timestamp:
date {
match => [ "Time", "[yyyy-MM-dd HH:mm:ss]" ]
target => "@timestamp"
}
and
date {
match => [ "Time", "[YYYY-MM-dd HH:mm:ss]" ]
target => "@timestamp"
}
neither has worked. Any other suggestion would be great