# Getting error in logstash

**URL:** https://discuss.elastic.co/t/getting-error-in-logstash/334646
**Category:** Logstash
**Created:** [May 30, 2023, 7:48am UTC](https://discuss.elastic.co/t/getting-error-in-logstash/334646 "2023-05-30T07:48:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Sachchan](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Sachchan](https://discuss.elastic.co/u/Sachchan)
#### Post date: [May 30, 2023, 7:48am UTC](https://discuss.elastic.co/t/getting-error-in-logstash/334646/1 "2023-05-30T07:48:10Z")

</div>

Hi Team, Getting below error in logstash very frequently. please help in resolving this.

````auto
[2023-05-30T13:13:06,480][ERROR][logstash.outputs.elasticsearch][CBC-only-4][72644810f48942e01d7ac6fc35e066a073591417c6633c6aa1fb45fa7b44f272] Attempted to send a bulk request but Elasticsearch appears to be unreachable or down {:message=>"Elasticsearch Unreachable: [https://10.100.4.92:9200/_bulk][Manticore::SocketTimeout] Read timed out", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :will_retry_in_seconds=>2} ```
````

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [May 30, 2023, 10:23am UTC](https://discuss.elastic.co/t/getting-error-in-logstash/334646/2 "2023-05-30T10:23:33Z")

</div>

> [@Sachchan](#):
>
> `Attempted to send a bulk request but Elasticsearch appears to be unreachable or down`

It looks like the Elasticsearch service you are trying to connect to with Logstash is not available. Is your cluster up and available at the address specified in your Logstash config?

---

<div class="post-metadata">

### Author: ![Sachchan](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Sachchan](https://discuss.elastic.co/u/Sachchan)
#### Post date: [May 30, 2023, 10:24am UTC](https://discuss.elastic.co/t/getting-error-in-logstash/334646/3 "2023-05-30T10:24:38Z")

</div>

Yes. Elastic services is up and running fine.

---

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [May 30, 2023, 11:54am UTC](https://discuss.elastic.co/t/getting-error-in-logstash/334646/4 "2023-05-30T11:54:15Z")

</div>

Have you evaluate [LS pipeline utilization](https://www.elastic.co/guide/en/logstash/current/performance-tuning.html) or have you checked elasticsearch logs? Should be some timeout, high CPU or similar.  
LS:  
`curl http://localhost:9600/_nodes/stats/pipelines?pretty`

---

<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 27, 2023, 11:54am UTC](https://discuss.elastic.co/t/getting-error-in-logstash/334646/5 "2023-06-27T11:54:40Z")

</div>

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