Getting an error on pushing logs to logstash to elasticseacrch,
"error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse field [message] of type [date] in document with id 'NVWQaIMBa0kW_rfG7Lb1'", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"cannot parse empty date"}}}}}
As per error, cannot parse empty date, but in the logs there is a key called "time", Any idea of this issue ?
But here are sample logs in my application servers,
{"level":"info","message":"2022-09-23T05:30:12.474630702Z","msg":"poll started at time","time":"2022-09-23T05:30:12Z"}
{"level":"info","msg":"Supervisor can't run, going to sleep","tenant":"event_aigsubscription","time":"2022-09-23T05:30:12Z"}
{"error":"mongo: no documents in result","level":"error","msg":"fail to find lock by criteria","time":"2022-09-23T05:30:12Z"}
{"error":"mongo: no documents in result","level":"error","msg":"fail to find lock by criteria while poll","time":"2022-09-23T05:30:12Z"}
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.