I am trying to set up MetricBeats with AWS hosted ElasticSearch service. However, in the metricbeats.yml file it asks for a user name and password.. and there isn't a user name and password in AWS ElasticSearch/Kibana for sending data. I have it configured to accept data from every where unauthenticated. Metricbeats is running on my logstash server which is sending data to the same ES cluster with no issues. This is my error message. Please advise.
Couldn't connect to any of the configured Elasticsearch hosts. Errors: [Error connection to Elasticsearch https://vpc-chzd52f2bk2ay7y5p2fu.us-east-1.es.amazonaws.com:443: Connection marked as failed because the onConnect callback failed: cannot retrieve the elasticsearch license: unauthorized access, could not connect to the xpack endpoint, verify your credentials]