# Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable

**URL:** https://discuss.elastic.co/t/attempted-to-send-a-bulk-request-to-elasticsearch-but-elasticsearch-appears-to-be-unreachable/204029
**Category:** Elasticsearch
**Created:** [October 17, 2019, 10:47am UTC](https://discuss.elastic.co/t/attempted-to-send-a-bulk-request-to-elasticsearch-but-elasticsearch-appears-to-be-unreachable/204029 "2019-10-17T10:47:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wangzf](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@wangzf](https://discuss.elastic.co/u/wangzf)
#### Post date: [October 17, 2019, 10:47am UTC](https://discuss.elastic.co/t/attempted-to-send-a-bulk-request-to-elasticsearch-but-elasticsearch-appears-to-be-unreachable/204029/1 "2019-10-17T10:47:00Z")

</div>

hi,i hava a question ,my cluster is green ,but my logstasht hava this error  
Oct 15 09:17:16 logstashmysql logstash[14839]: [2019-10-15T09:17:16,974][WARN][logstash.outputs.elasticsearch] Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: ...url=\>[http://172.31.1](http://172.31.1)

Oct 15 09:17:16 logstashmysql logstash[14839]: [2019-10-15T09:17:16,975][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error\_message=\>"Elasticsearch Unreachable: [http:...

Oct 15 09:17:19 logstashmysql logstash[14839]: [2019-10-15T09:17:19,339][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>"[http://172.31.182.177:9200/](http://172.31.182.177:9200/)"}  
my logstash and elasticsearch configure is  
node.name: elk1  
node.master: true  
node.data: false

path.data: /data/elasticsearch  
path.logs: /var/log/elasticsearch  
bootstrap.memory\_lock: true  
transport.tcp.compress: true  
thread\_pool:  
write:  
queue\_size: 2000

network.host: 0.0.0.0  
http.port: 9200  
discovery.zen.ping.unicast.hosts: ["elk1", "elk2","elk3","elk4","elk5","elk6","elk7","elk8","elk9","elk10"]  
gateway.recover\_after\_nodes: 4

input {  
kafka {  
bootstrap\_servers =\> "172.31.182.167:9092,172.31.182.168:9092,172.31.182.169:9092"  
topics =\> ["demo1"]  
decorate\_events =\> true  
codec =\> json  
}  
}  
filter {  
grok {  
match =\> {"message" =\> "%{TIMESTAMP\_ISO8601:timestamp}"}  
}  
date {  
match =\> ["timestamp","yyyy-MM-dd HH:mm:ss.SSS","yyyy-MM-dd HH:mm:ss.SSSSSS","ISO8601"]  
target =\> "@timestamp"  
}

}  
output {  
if[fields][logtype] == "ceph01\_ceph" {  
elasticsearch {  
hosts =\> ["172.31.182.162:9200","172.31.182.163:9200","172.31.182.177:9200","172.31.182.203:9200","172.31.182.204:9200","172.31.182.205:9200","172.31.182.210:9200"]  
index =\> "ceph-%{+YYYY.MM.dd}"  
}  
}  
}

---

<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: [November 14, 2019, 10:47am UTC](https://discuss.elastic.co/t/attempted-to-send-a-bulk-request-to-elasticsearch-but-elasticsearch-appears-to-be-unreachable/204029/2 "2019-11-14T10:47:06Z")

</div>

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