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.

output.elasticsearch:
  hosts => ["10.115.6.288:9200"]

That configuration is wrong, it should be:

output.elasticsearch:
  hosts: ["10.115.6.288:9200"]

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.