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:
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