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

This is my filebeat.yml file I have commented the Logstash

Now when I run this below command I get this error.

 sudo filebeat setup --index-management -E output.logstash.enable=false -E 'output.elasticsearch.hosts=["localhost:9200"]'