Error loading config file: yaml: line 177: could not find expected ':'


# These settings simplify using Filebeat with the Elastic Cloud (

#The setting overwrites the output.elasticsearch.hosts and options.

You can find the in the Elastic Cloud web UI.

kindly assist me on this

Welcome to our community! :smiley:
Please don't post pictures of text or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

(I cannot read that at all due to the contrast between the blue and black fwiw)

1 Like

Thank you for your feedback,

could you please assist me I'm getting an error this error when trying to install the metricbeat

Exiting: error initializing publisher: missing required field accessing 'output.elasticsearch.hosts'

These are my outputs:

Array of hosts to connect to.

hosts: ["x.x.x.x:9200"]

Protocol - either http (default) or https.

#protocol: "https"

Authentication credentials - either API key or username/password.

#api_key: "id:api_key"
#username: "elastic"
#password: "changeme"
host: "x.x.x.x:5601"

------------------------------ Logstash Output -------------------------------


The Logstash hosts

#hosts: ["localhost:5044"]

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