# Logstash cant push to elasticsearch if cluster is yellow

**URL:** <https://discuss.elastic.co/t/logstash-cant-push-to-elasticsearch-if-cluster-is-yellow/168804>\
**Category:** Logstash\
**Created:** [February 18, 2019, 10:33am UTC](https://discuss.elastic.co/t/logstash-cant-push-to-elasticsearch-if-cluster-is-yellow/168804 "2019-02-18T10:33:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![christianVLC](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christianvlc/32/41038_2.png) [@christianVLC](https://discuss.elastic.co/u/christianVLC)\
**Post date:** [February 18, 2019, 10:33am UTC](https://discuss.elastic.co/t/logstash-cant-push-to-elasticsearch-if-cluster-is-yellow/168804/1 "2019-02-18T10:33:34Z")

</div>

Hi all,

We have one Redis-Logstash-Elasticsearch installation and when elasticsearch is yellow (for example while its doing colocation/re-sharding after one node restart), then Logstash cant push to Elasticsearh.

Is this normal? Or is something missing in our config?

Elasticsearch Version: 6.5.4  
Logstash Version: 6.5.4-1.noarch

Regards,  
Christian

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [February 18, 2019, 12:15pm UTC](https://discuss.elastic.co/t/logstash-cant-push-to-elasticsearch-if-cluster-is-yellow/168804/2 "2019-02-18T12:15:39Z")

</div>

Do you get any errors in your log? Or maybe on the elasticsearch side?

---

<div class="post-metadata">

**Author:** ![christianVLC](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christianvlc/32/41038_2.png) [@christianVLC](https://discuss.elastic.co/u/christianVLC)\
**Post date:** [February 18, 2019, 12:29pm UTC](https://discuss.elastic.co/t/logstash-cant-push-to-elasticsearch-if-cluster-is-yellow/168804/3 "2019-02-18T12:29:31Z")

</div>

Hi pjanzen,  
I get in logstash some errors like this:  
[ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch, but no there are no living connections in the connection pool. Perhaps Elasticsearch is unreachable or down? {:error\_message=\>"No Available connections", :class=\>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::NoConnectionAvailableError", :will\_retry\_in\_seconds=\>4}

Logstash connect to one "ingest Node" of Elasticsearch (so any Data Node), and I dont get any error from the side of these two "Ingest Nodes"

Along the time that is Elasticsearch in Yellow status (doin Sharing), logstash has a lot of problems with the elasticsearch connection,,, is "normal"? or I have a problem with logstash performance or Elastic Konfiguration?

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [February 18, 2019, 12:33pm UTC](https://discuss.elastic.co/t/logstash-cant-push-to-elasticsearch-if-cluster-is-yellow/168804/4 "2019-02-18T12:33:51Z")

</div>

I would say you have a problem with elasticsearch. Logstash tries to connect and cannot do so.

Have a look at the elasticsearch logs and see if that points you to a problem.

---

<div class="post-metadata">

**Author:** ![christianVLC](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christianvlc/32/41038_2.png) [@christianVLC](https://discuss.elastic.co/u/christianVLC)\
**Post date:** [February 18, 2019, 12:36pm UTC](https://discuss.elastic.co/t/logstash-cant-push-to-elasticsearch-if-cluster-is-yellow/168804/5 "2019-02-18T12:36:27Z")

</div>

ok, many Thanks for your Tipp!

---

<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:** [March 18, 2019, 12:36pm UTC](https://discuss.elastic.co/t/logstash-cant-push-to-elasticsearch-if-cluster-is-yellow/168804/6 "2019-03-18T12:36:27Z")

</div>

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