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

image

# These settings simplify using Filebeat with the Elastic Cloud (https://cloud.elastic.co/)

#The cloud.id setting overwrites the output.elasticsearch.hosts and

setup.kibana.host options.

You can find the cloud.id in the Elastic Cloud web UI.

#cloud.id:

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:
output.elasticsearch:

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"
setup.kibana:
host: "x.x.x.x:5601"

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

#output.logstash:

The Logstash hosts

#hosts: ["localhost:5044"]

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