ElasticSearch Error – filebeat – filebeat.yml – more than one namespace configured accessing ‘output’

Errors

[ec2-user@ip-172-31-9-17 filebeat-7.2.0-linux-x86_64]$ sudo ./filebeat -e -c filebeat.yml -d           "publish"
Exiting: error unpacking config data: more than one namespace configured accessing 'output' (          source:'filebeat.yml')
[ec2-user@ip-172-31-9-17 filebeat-7.2.0-linux-x86_64]$

Answer

Check output.logstash in filebeat.yml: should be uncommented.

Rajesh Kumar
Follow me