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

**URL:** https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241
**Category:** Elasticsearch
**Created:** [May 26, 2020, 4:47am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241 "2020-05-26T04:47:59Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Raj\_Techie](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raj\_Techie](https://discuss.elastic.co/u/Raj_Techie)
#### Post date: [May 26, 2020, 4:48am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/1 "2020-05-26T04:48:00Z")

</div>

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 🙂 [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.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 26, 2020, 4:49am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/2 "2020-05-26T04:49:16Z")

</div>

Which version of Elasticsearch are you using? You seem to have 3, and all of those are well into [end of life](https://www.elastic.co/support/eol).

---

<div class="post-metadata">

### Author: ![Raj\_Techie](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raj\_Techie](https://discuss.elastic.co/u/Raj_Techie)
#### Post date: [May 26, 2020, 5:45am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/3 "2020-05-26T05:45:02Z")

</div>

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

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 26, 2020, 5:45am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/4 "2020-05-26T05:45:28Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Raj\_Techie](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raj\_Techie](https://discuss.elastic.co/u/Raj_Techie)
#### Post date: [May 26, 2020, 5:46am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/5 "2020-05-26T05:46:45Z")

</div>

Thank you . Is 5.3.2 is not supported ?

---

<div class="post-metadata">

### Author: ![Raj\_Techie](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raj\_Techie](https://discuss.elastic.co/u/Raj_Techie)
#### Post date: [May 26, 2020, 5:57am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/6 "2020-05-26T05:57:23Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [May 26, 2020, 5:58am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/7 "2020-05-26T05:58:29Z")

</div>

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

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 26, 2020, 6:16am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/8 "2020-05-26T06:16:46Z")

</div>

5.3.2 is no longer officially supported, no.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 23, 2020, 6:16am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch/234241/9 "2020-06-23T06:16:52Z")

</div>

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