How to debug logstash errors


(dbenson) #1

I've started writing json files into ELK 5.1.1 but don't know where to proceed with log messages in logstash-plain.log like:

[2017-02-06T21:07:17,039][WARN ][logstash.outputs.elasticsearch] Failed action. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"logstash-alert-orders-2017.02.06", :_type=>"alertorders", :_routing=>nil}, 017-02-06T16:24:17.319Z de-chana702 %{message}], :response=>{"index"=>{"_index"=>"logstash-alert-orders-2017.02.06", "_type"=>"alertorders", "_id"=>"AVoVQH54d1XpO5NeqHDS", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"name cannot be empty string"}}}}}

Is there a way of getting the input line which caused the error?

Thanks in advance,

David


(system) #2

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