I am getting a _dateparsefailure when I try to map the date and time the log arrived to the @timestamp field. Below is my filter, if I comment out the attempt to map to @timestamp I dont get a _dateparsefailure so it somethhing with match => [ "timestamp", "yyy-MM-dd HH:mm:ss"]
The log is as follows:
2021-04-22-07.29.58.938095
grok {
pattern_definitions => {
"CUSTOMTIMESTAMP" => "%{YEAR}-%{MONTHNUM}-%{MONTHDAY}\S+%{HOUR}.%{MINUTE}.%{SECOND}"
}
match => { "message" => [ "%{CUSTOMTIMESTAMP:timestamp}
}
date {
match => [ "timestamp", "yyyy-MMM-dd HH:mm:ss" ]
target => "@timestamp"
}