Filebeat.yml can not convert String into Object

Hello team,
I am getting below error in filebeat.yml.
I have commented all other lines and just added output.Elasticsearch
Can anyone please help me here.

  hosts => [""]

That configuration is wrong, it should be:

  hosts: [""]

Thank you so much for your quick help. I just copy past from logstash pipeline that's why i missed it.

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