Did lot of search and found that this can only be done with grok filter but I never use this filter so I am trying this way but giving me following error. any idea?
filter {
json { source => "message" }
date { match => ["first_report", "yyyy-MM-dd HH:mm:ss.SS"]
target => "first_report"
}
grok {
match => { "first_report" => "%{YEAR}-%{MONTH}-%{DAY} %{HOUR}:%{MINUTE}:%{SECOND}.%{SS}" }
}
Getting following error.
exception=>#<Grok::PatternError: pattern %{SS} not defined>,
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.