# Logstash connection error

**URL:** <https://discuss.elastic.co/t/logstash-connection-error/326133>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [February 22, 2023, 7:29am UTC](https://discuss.elastic.co/t/logstash-connection-error/326133 "2023-02-22T07:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peinmercado](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@peinmercado](https://discuss.elastic.co/u/peinmercado)\
**Post date:** [February 22, 2023, 7:29am UTC](https://discuss.elastic.co/t/logstash-connection-error/326133/1 "2023-02-22T07:29:55Z")

</div>

Hi all,

I'm trying to setup log stash for my elasticsearch master region to backup region for our BCP, I will be using the in and out information of logstash however, I got an error

```auto
[2023-02-22T07:14:21,226][ERROR][logstash.outputs.elasticsearch][main] 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}
[2023-02-22T07:14:23,140][WARN][logstash.outputs.elasticsearch][main] Restored connection to ES instance {:url=>"http://backupRegionIP:9200/"}

```

I did try curl -v backupRegion:9200 from the master region and I was able to connect.

I really appreciate any help you can provide.

Thanks,

---

<div class="post-metadata">

**Author:** ![peinmercado](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@peinmercado](https://discuss.elastic.co/u/peinmercado)\
**Post date:** [March 3, 2023, 1:27am UTC](https://discuss.elastic.co/t/logstash-connection-error/326133/2 "2023-03-03T01:27:32Z")

</div>

this is resolved. thanks

---

<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 31, 2023, 1:28am UTC](https://discuss.elastic.co/t/logstash-connection-error/326133/3 "2023-03-31T01:28:23Z")

</div>

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