# Docker services stop working when loosing connection from elastic-logging-plugin to ElasticDB

**URL:** https://discuss.elastic.co/t/docker-services-stop-working-when-loosing-connection-from-elastic-logging-plugin-to-elasticdb/262196
**Category:** Logstash
**Tags:** docker
**Created:** [January 26, 2021, 6:38am UTC](https://discuss.elastic.co/t/docker-services-stop-working-when-loosing-connection-from-elastic-logging-plugin-to-elasticdb/262196 "2021-01-26T06:38:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![LeeAn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leean/32/82902_2.png) [@LeeAn](https://discuss.elastic.co/u/LeeAn)
#### Post date: [January 26, 2021, 6:38am UTC](https://discuss.elastic.co/t/docker-services-stop-working-when-loosing-connection-from-elastic-logging-plugin-to-elasticdb/262196/1 "2021-01-26T06:38:03Z")

</div>

Hi,

Im using Elastic-logging-plugin to collect logs from my docker containers and send them to Kibana but sometime the connection to ElasticDB got lost for reasons like internal error from ElasticDB server or network problem, all of my containers that use the plugin stopped working. I have check /var/log/syslog and saw this log:

```auto
dockerd[10758]: time="2021-01-25T08:11:00Z" level=error msg="2021-01-25T08:11:00.194Z\tINFO\t[publisher_pipeline_output]\tpipeline/output.go:151\tConnection to backoff(elasticsearch(http://my_elastic_db:port)) 

```

This is my logging config for services

```auto
    logging:
        driver: "elastic/elastic-logging-plugin:7.10.0"
        options:
            hosts: "${ELASTIC_SEARCH_HOST}"
            user: "${ELASTIC_USER}"
            password: "${ELASTIC_PASSWORD}"
            index: "${ELASTIC_INDEX_PATTERN}"

```

Is there any idea for this issue?

---

<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: [February 23, 2021, 6:38am UTC](https://discuss.elastic.co/t/docker-services-stop-working-when-loosing-connection-from-elastic-logging-plugin-to-elasticdb/262196/2 "2021-02-23T06:38:12Z")

</div>

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