# Elasticsearch (Docker) - failed to set monitoring pipeline

**URL:** <https://discuss.elastic.co/t/elasticsearch-docker-failed-to-set-monitoring-pipeline/269904>\
**Category:** Elasticsearch\
**Created:** [April 12, 2021, 3:48pm UTC](https://discuss.elastic.co/t/elasticsearch-docker-failed-to-set-monitoring-pipeline/269904 "2021-04-12T15:48:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chainhead](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chainhead/32/86933_2.png) [@chainhead](https://discuss.elastic.co/u/chainhead)\
**Post date:** [April 12, 2021, 3:48pm UTC](https://discuss.elastic.co/t/elasticsearch-docker-failed-to-set-monitoring-pipeline/269904/1 "2021-04-12T15:48:49Z")

</div>

I am using Elasticsearch with Docker `elasticsearch/elasticsearch:7.12.0` and this is what I see in the logs. It is probably for these blogs, Kibana never gets to connect to Elasticsearch rendering my EFK stack unusable. Can you please help me resolve this?

**Elasticsearch logs**

```bash
{"type": "server", "timestamp": "2021-04-12T15:46:54,725Z", "level": "ERROR", "component": "o.e.x.m.e.l.LocalExporter", "cluster.name": "docker-cluster", "node.name": "18fa31152c4e", "message": "failed to set monitoring pipeline [xpack_monitoring_7]", "cluster.uuid": "hPQQvS3PSruKB-sTlnL1dw", "node.id": "0090x6m3T2y41okmxRS-JA" ,

"stacktrace": ["org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (put-pipeline-xpack_monitoring_7) within 30s",

"at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$0(MasterService.java:132) [elasticsearch-7.12.0.jar:7.12.0]",

"at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]",

"at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$1(MasterService.java:131) [elasticsearch-7.12.0.jar:7.12.0]",

"at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:673) [elasticsearch-7.12.0.jar:7.12.0]",

"at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]",

"at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]",

"at java.lang.Thread.run(Thread.java:832) [?:?]"] }

```

**Docker version**

```bash
docker version
Client: Docker Engine - Community
 Cloud integration: 1.0.12
 Version: 20.10.5
 API version: 1.41
 Go version: go1.13.15
 Git commit: 55c4c88
 Built: Tue Mar 2 20:13:00 2021
 OS/Arch: darwin/amd64
 Context: default
 Experimental: true

Server: Docker Engine - Community
 Engine:
  Version: 20.10.5
  API version: 1.41 (minimum version 1.12)
  Go version: go1.13.15
  Git commit: 363e9a8
  Built: Tue Mar 2 20:15:47 2021
  OS/Arch: linux/amd64
  Experimental: true
 containerd:
  Version: 1.4.4
  GitCommit: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e
 runc:
  Version: 1.0.0-rc93
  GitCommit: 12644e614e25b05da6fd08a38ffa0cfe1903fdec
 docker-init:
  Version: 0.19.0
  GitCommit: de40ad0

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 14, 2021, 12:25am UTC](https://discuss.elastic.co/t/elasticsearch-docker-failed-to-set-monitoring-pipeline/269904/2 "2021-04-14T00:25:16Z")

</div>

Welcome to our community! 😃

What state is your cluster in?

---

<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 12, 2021, 12:25am UTC](https://discuss.elastic.co/t/elasticsearch-docker-failed-to-set-monitoring-pipeline/269904/3 "2021-05-12T00:25:55Z")

</div>

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