grok {
match => {
"message" => "%{SYSLOGTIMESTAMP:syslog_timestamp}.*%{NUMBER:duration:int}"
}
}
date {
match => [ "syslog_timestamp", "MMM dd HH:mm:ss" ]
timezone => "Europe/Paris"
}
In kibana, I obtain the tag "_dateparsefailure and my timestamp doesn't correspond to the log date but the indexation date.
I think it's all about the two spaces between the month and day, but to handle them in the dissect filter, I usually use the "->" to indicate padding.
There, in the grok filter, I don't know how to handle this.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.