I follow the instructions for installations:
curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.5.0-amd64.deb
sudo dpkg -i metricbeat-7.5.0-amd64.deb
Above 2 is OK
Modify /etc/metricbeat/metricbeat.yml to set the connection information for Elastic Cloud:
cloud.id: "FirstElasticDeployment:abcdefblahblahblah=="
cloud.auth: "elastic:defghijkblahblah"
line 85 is cloud.auth: "elastic:defghijkblahblah"
which I find there is no issue, why does it complains below:
sudo metricbeat modules enable elasticsearch
Error initializing beat: error loading config file: yaml: line 85: could not find expected ':'