Logstash + Elasticsearch returns class_cast_exception error


#1

Hi,

I currently have an intermittent problem:
logstash fails to index documents in elasticsearch and gets:

[logstash.outputs.elasticsearch] retrying failed action with response code: 500 ({"type"=>"class_cast_exception", "reason"=>nil})

I suspect is some kind of malformed document. How can I get more information about this? I have tried to log this but due to the amount of logs and its intermittent nature it's difficult to see what document it's causing this.

Any hint on how could I debug this would be greatly appreciated!

Thanks


(Jared Carey) #2

The elasticsearch log should contain a more detailed error on what might be happening.


(system) #3

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