_dateparsefailure while parsing tdate with logstash

51 Views Asked by At

I keep getting _dateparsefailure while parsing date with logstash.

Here is my purpose :

Input field :

"r_modify_date" = "20220915161948"

Logstash filter configuration :

date {match => ["r_modify_date","yyyyMMddHHmmss"] target => ["r_modify_date"]}

While searching with Kibana, I keep getting

"@modification_date" : [
    "20220915161948"
],

in results and also the exception _dateparsefailure in tags.

I just want to transform that date value to this format :

"2022-09-15T16:19:48.xxxZ"

Any idea how I can do that ?

0

There are 0 best solutions below