Hi,
I am using Logstash to parse some install logs. I have a field named LOG_DATE and the grok pattern is correct but I need to change the field from a string to a date. I am using the date filter plugin to do this. I have used this correctly before but I cannot seem to get the Joda abbreviations correct.
Here is what the LOG_DATE field looks like:
Mon Sep 11 13:49:24 EDT 2017
Here is what I am currently trying in the date filter:
date {
match => [ "log_date", "EEE MMM dd HH:mm:ss ZZZ YYYY" ]
target => "logdate"
locale => "en"
remove_field => [ "log_date" ]
}
I am still getting a date parse error and the field LOGDATE (no underscore) is not being created.
Thank you for your help!
Miranda