# Exiting: error unpacking config data: more than one namespace configured accessing 'output' (source:'heartbeat.yml')

**URL:** https://discuss.elastic.co/t/exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-output-source-heartbeat-yml/309161
**Category:** Beats
**Tags:** docker, heartbeat
**Created:** [July 7, 2022, 10:07pm UTC](https://discuss.elastic.co/t/exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-output-source-heartbeat-yml/309161 "2022-07-07T22:07:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ronald1](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@Ronald1](https://discuss.elastic.co/u/Ronald1)
#### Post date: [July 7, 2022, 10:07pm UTC](https://discuss.elastic.co/t/exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-output-source-heartbeat-yml/309161/1 "2022-07-07T22:07:33Z")

</div>

Hello,

I run ELK stack using Docker Compose. See [Install Elasticsearch with Docker | Elasticsearch Guide [8.3] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html). It works fine. I can login using Kibana.

I want to run Heartbeat on Docker as well, using [Run Heartbeat on Docker | Heartbeat Reference [8.3] | Elastic](https://www.elastic.co/guide/en/beats/heartbeat/current/running-on-docker.html).

When I run the Heartbeat setup using [Run Heartbeat on Docker | Heartbeat Reference [8.3] | Elastic](https://www.elastic.co/guide/en/beats/heartbeat/current/running-on-docker.html), I keep getting the following error:

Exiting: error unpacking config data: more than one namespace configured accessing 'output' (source:'heartbeat.yml')

I've logged into the Docker container and inspected the heartbeat.yml, but it's the default one with only 1 output defined (output to Elastic).

Any ideas why I keep getting this error?

Thanks,

Ronald

---

<div class="post-metadata">

### Author: ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)
#### Post date: [July 8, 2022, 4:28pm UTC](https://discuss.elastic.co/t/exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-output-source-heartbeat-yml/309161/2 "2022-07-08T16:28:00Z")

</div>

Can you copy / paste the exact error message in a code block? I'm not seeing any similar error strings in the codebase at the moment.

```auto
this is a sample codeblock

```

---

<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: [August 5, 2022, 6:28pm UTC](https://discuss.elastic.co/t/exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-output-source-heartbeat-yml/309161/3 "2022-08-05T18:28:19Z")

</div>

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