in the logstash.conf , I have a date plugin as follows, which appears to match fine
date { #timezone => "America/New_York"
timezone => "America/Chicago" #match => [ "GenerateTime", "YYYY/MM/dd HH:mm" ]
Problem is ReceiveTime should only be HH:mm , but it appends date also
"ReceiveTime" => "2016/02/12 19:03:09",
The error seems to be when it attempts to push it to ES.
status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse [ReceiveTime]", "caused_by"=>{"type"=>"illegal_argument_exception",
"reason"=>"Invalid format: "2016/02/12 19:03:03" is malformed at "/02/12 19:03:03""}}}}, :level=>:warn}
I am facing same issue.
Grok Filters is parsing logs properly but elasticsearch is giving exception
Logs of elasticsearch :
MapperParsingException[failed to parse [GenerateTime]]; nested: IllegalArgumentException[Invalid format: "2016/08/02 00:35:44" is malformed at "/08/02 00:35:44"];
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.