# Filebeat - Exiting: error unpacking config data: more than one namespace configured accessing 'queue'

**URL:** <https://discuss.elastic.co/t/filebeat-exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-queue/319028>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 16, 2022, 7:51am UTC](https://discuss.elastic.co/t/filebeat-exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-queue/319028 "2022-11-16T07:51:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pszemesy](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@pszemesy](https://discuss.elastic.co/u/pszemesy)\
**Post date:** [November 16, 2022, 7:51am UTC](https://discuss.elastic.co/t/filebeat-exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-queue/319028/1 "2022-11-16T07:51:18Z")

</div>

Hi All,

I have received the following error message in the /var/log/messages - while filebeat won't start:  
_Exiting: error unpacking config data: more than one namespace configured accessing 'queue' (source:'/usr/asdf/elasticbeats/filebeat/etc/filebeat.yml')_

My filebeat.yml:

```auto
filebeat.config:
  modules:
    path: ${path.config}/modules.d/*.yml
    reload.enabled: false

# ================================== Processors ================================
processors:
  - add_fields:
      target: data_stream
      fields:
        type: logs
        dataset: saas
        namespace: default
  - add_host_metadata:
      when.not.contains.tags: forwarded
  - add_fields:
      target: host
      fields:
        name: asdfhot02
  - add_fields:
      target: labels
      fields:
        service_name: my_service
  - add_locale:
      format: offset

# ================================ Global =====================================
spool_size: 8192

# ================================== ILM ======================================
setup.ilm.enabled: false

# ================================= Queue =====================================
queue:
  mem:
    events: 4096
    flush.min_events: 512
    flush.timeout: 5s
  disk:
    max_size: 2GB

# ---------------------------- Logstash Output ----------------------------
output.logstash:
  # Array of hosts to connect to.
  hosts: ['logstash01:5044', 'logstash02:5044', 'logstash03:5044']
  worker: 4

# =================================== Paths ====================================
path.home: /usr/asdf/elasticbeats/filebeat/bin
path.config: /usr/asdf/elasticbeats/filebeat/etc
path.data: /usr/asdf/elasticbeats/filebeat/data
path.logs: /usr/asdf/elasticbeats/filebeat/log

# ============================= X-Pack Monitoring ==============================
monitoring.enabled: false
http.enabled: true
http.port: 5066
monitoring.cluster_uuid: z8OT2ff8Tmue03oM7XOzGQ

# ================================== Logging ===================================
# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
logging.level: error
logging.to_files: true
logging.files:
  path: /usr/asdf/elasticbeats/filebeat/log
  name: filebeat
  keepfiles: 7
  permissions: 0644

```

I do not see the duplication of the queue tag at all. Please help me to find it!  
Thanks

---

<div class="post-metadata">

**Author:** ![pszemesy](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@pszemesy](https://discuss.elastic.co/u/pszemesy)\
**Post date:** [November 18, 2022, 11:56am UTC](https://discuss.elastic.co/t/filebeat-exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-queue/319028/2 "2022-11-18T11:56:50Z")

</div>

Sorry,  
My bad - memory and disk queue at the same time.

---

<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:** [December 16, 2022, 1:57pm UTC](https://discuss.elastic.co/t/filebeat-exiting-error-unpacking-config-data-more-than-one-namespace-configured-accessing-queue/319028/3 "2022-12-16T13:57:24Z")

</div>

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