# Logstash in docker start failed

**URL:** <https://discuss.elastic.co/t/logstash-in-docker-start-failed/84347>\
**Category:** Logstash\
**Created:** [May 3, 2017, 4:24am UTC](https://discuss.elastic.co/t/logstash-in-docker-start-failed/84347 "2017-05-03T04:24:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaotie](https://avatars.discourse-cdn.com/v4/letter/x/8baadc/32.png) [@xiaotie](https://discuss.elastic.co/u/xiaotie)\
**Post date:** [May 3, 2017, 4:24am UTC](https://discuss.elastic.co/t/logstash-in-docker-start-failed/84347/1 "2017-05-03T04:24:50Z")

</div>

Hello, everyone  
I use logstash with custom docker image following this doc: [https://www.elastic.co/guide/en/logstash/current/docker.html](https://www.elastic.co/guide/en/logstash/current/docker.html).  
I only change content of pipeline config as follow:

input {  
redis {  
batch\_count =\> 1  
data\_type =\> "list"  
key =\> "logstash-list"  
host =\> "192.168.154.136"  
port =\> 6380  
threads =\> 5  
codec =\> "plain"  
}  
}

output {  
stdout {}  
}

But I got the following error:  
[2017-05-03T04:21:28,028][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck\_url=\>[http://logstash\_system:xxxxxx@localhost:9200/](http://logstash_system:xxxxxx@localhost:9200/), :path=\>"/"}  
[2017-05-03T04:21:28,199][WARN][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>#\<URI::HTTP:0x26f289c URL:[http://logstash\_system:xxxxxx@localhost:9200/\_xpack/monitoring/?system\_id=logstash&system\_api\_version=2&interval=1s](http://logstash_system:xxxxxx@localhost:9200/_xpack/monitoring/?system_id=logstash&system_api_version=2&interval=1s)\>, :error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[http://logstash\_system:xxxxxx@localhost:9200/](http://logstash_system:xxxxxx@localhost:9200/)][Manticore::SocketException] Connection refused (Connection refused)"}

I didn't config output with elastic search. I'll appreciate if anyone can help me out, 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:** [May 31, 2017, 4:34am UTC](https://discuss.elastic.co/t/logstash-in-docker-start-failed/84347/2 "2017-05-31T04:34:23Z")

</div>

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