[logstash.outputs.elasticsearch] Could not index event to Elasticsearch

Logstash version I am using -logstash 6.0.1
Elasticsearch version below are there in my system.
/appserver/elk4pq/elasticsearch-2.3.2/config/elasticsearch.yml
/data/software/elk/elasticsearch-2.4.5/config/elasticsearch.yml
/data/software/elk/elasticsearch-5.3.2/config/elasticsearch.yml

Not getting the result of this command.
curl -XGET 'localhost:9200'
curl: (7) couldn't connect to host

Error I am getting :slight_smile: [2020-05-26T04:25:06,394][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>404, :action=>["index", {:_id=>nil, :_index=>"tol report-qa-dtc-2020.05.26", :_type=>"tolcheck", :_routing=>nil}, #LogStash::Event:0x7ffa2f95], :response=>{"index"=>{"_index"=>"tolreport-qa-dtc-2020.05.26", "_typ e"=>"tolcheck", "_id"=>nil, "status"=>404, "error"=>{"type"=>"index_not_found_exception", "reason"=>"no such index", "resource.type"=>"index_expression", "resource. id"=>"tolreport-qa-dtc-2020.05.26", "index_uuid"=>"na", "index"=>"tolreport-qa-dtc-2020.05.26"}}}}
111 [2020-05-26T04:25:06,565][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>404, :action=>["index", {:_id=>nil, :_index=>"tol report-qa-hdc-2020.05.26", :_type=>"tolcheck", :_routing=>nil}, #LogStash::Event:0x26000ed0], :response=>{"index"=>{"_index"=>"tolreport-qa-hdc-2020.05.26", "_typ e"=>"tolcheck", "_id"=>nil, "status"=>404, "error"=>{"type"=>"index_not_found_exception", "reason"=>"no such index", "resource.type"=>"index_expression", "resource. id"=>"tolreport-qa-hdc-2020.05.26", "index_uuid"=>"na", "index"=>"tolreport-qa-hdc-2020.05.26"}}}}
112 [2020-05-26T04:25:06,571][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>404, :action=>["index", {:_id=>nil, :_index=>"tol report-qa-hdc-2020.05.26", :_type=>"tolcheck", :_routing=>nil}, #LogStash::Event:0x7ffa2f95], :response=>{"index"=>{"_index"=>"tolreport-qa-hdc-2020.05.26", "_typ e"=>"tolcheck", "_id"=>nil, "status"=>404, "error"=>{"type"=>"index_not_found_exception", "reason"=>"no such index", "resource.type"=>"index_expression", "resource. id"=>"tolreport-qa-hdc-2020.05.26", "index_uuid"=>"na", "index"=>"tolreport-qa-hdc-2020.05.26"}}}}

Can anyone help.

Which version of Elasticsearch are you using? You seem to have 3, and all of those are well into end of life.

HI,
I am configuring from elasticsearch-5.3.2 version. Any command is there to get version ?

Please use an up to date version, the latest is 7.7 :slight_smile:

Thank you . Is 5.3.2 is not supported ?

@warkolm. Is 5.3.2 version is not supported version. I could see able to log in but not able to indexing to output.

You are listing multiple versions which is confusing. How many nodes do you have in your cluster?

5.3.2 is no longer officially supported, no.

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