Closed mpg-13 closed 3 years ago
This is not an issue in the date filter, it is an issue in the underlying Joda library. The builder will consume 1 or 2 digits, regardless of whether you use d or dd. So it is trying to parse September 32nd, which is not a valid date. You may be able to use mutate to gsub in a delimiter between the day and year.
mutate { gsub => [ "message", "\d{4}$", ".\1" ] }
Version: 7.5.1
Operating System: RHEL7
Config File (if you have sensitive info, please remove it):
You can use any dates in the following formats to reproduce this issue
Sep32019
andSep132019
Using this config, logstash is able to properly parse out the date format
Sep132019
:but we get _dateparsefailure for
Sep32019
: