Error: Could not index event to Elasticsearch

Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"rencore-2020.04.22", :routing=>nil, :_type=>"_doc"}, #<LogStash::Event:0x6325d5c0>], :response=>{"index"=>{"_index"=>"rencore-2020.04.22", "_type"=>"_doc", "_id"=>"1NqFoXEBtOBq7OZs9Lnh", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse field [response] of type [text] in document with id '1NqFoXEBtOBq7OZs9Lnh'

I have two different log patterns in my log file and the "response" field in string in one and object in the other log pattern.
Please I need help. Thanks

We can't tell without seeing what has been sent to elasticsearch.
There's something wrong in your message field. That's probably the only thing we can tell.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.