Logstash Date Parsing Error

Hello All, I am trying to parse logs from openresty and running into parsing issue. In the log, the date shows as:
[03/Dec/2019:17:17:14 +0000]
my parser is configured as:
date{ match => [ "log_time", "dd/MMM/yyyy:HH:mm:ss Z" ] target => "log_time"
and the date transforms as you would expect, but it transforms into a date that is parsible by elastic as shown by:
Caused by: java.lang.IllegalArgumentException: failed to parse date field [2019-12-03T17:17:14.000Z] with format [yyyy/MM/dd HH:mm:ss||yyyy/MM/dd||epoch_millis]

any help appreciated. TIA

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.