MetricBeat error while connecting to Elasticsearch

Hi ,
I am having trouble with metricbeat communicate to OpendistroElasticsearch .Both are oss version.Please help!
Error seen is : ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(elasticsearch(https://44.256.176.39:9200)): Get "https://44.236.>
Oct 21 22:15:19 ip-10-20-9-79 metricbeat[194427]: 2020-10-21T22:15:19.183Z INFO [publisher_pipeline_output] pipeline/output.go:145 Attempting to reconnect to backoff(elasticsearch(https://44.256.176.39:9200)) with 3 reconnect

Note: When I do curl -v https://:9200 i get not response.
When I do curl -v https://:9200 -u admin:admin -insecure that is the only time I can see the status of the ELK

Please share your Metricbeat configuration formatted using </>?

You can try this setting in your elasticsearch.yml
And check out your credentials in metricbeat.

xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.key: your.key
xpack.security.http.ssl.certificate: your.crt
xpack.security.http.ssl.certificate_authorities: your.crt
xpack.security.transport.ssl.key: your.key
xpack.security.transport.ssl.certificate: your.crt
xpack.security.transport.ssl.certificate_authorities: your.ca.cert
xpack.security.transport.ssl.verification_mode: certificate

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