# AWS ELK and metricbeat issue

**URL:** <https://discuss.elastic.co/t/aws-elk-and-metricbeat-issue/255179>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 12, 2020, 9:31am UTC](https://discuss.elastic.co/t/aws-elk-and-metricbeat-issue/255179 "2020-11-12T09:31:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfredo.deluca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alfredo.deluca/32/95381_2.png) [@alfredo.deluca](https://discuss.elastic.co/u/alfredo.deluca)\
**Post date:** [November 12, 2020, 9:31am UTC](https://discuss.elastic.co/t/aws-elk-and-metricbeat-issue/255179/1 "2020-11-12T09:31:49Z")

</div>

Hi all.  
I have AWS Elasticsearch 7.8 and also, for testing purposes, I have a minikube kubernetes where I installed through Helm, metricbeat.  
When I do metricbeat test config it seems to be ok and test output  
parse url... OK  
connection...  
parse host... OK  
dns lookup... OK  
addresses: xxx.xxx.xxx.xxx  
dial up... OK  
TLS...  
security: server's certificate chain verification is enabled  
handshake... OK  
TLS version: TLSv1.2  
dial up... OK  
talk to server... OK  
version: 7.8.0

but when I try **metricbeat setup** I got the following error

> Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://:5601/\_plugin/kibana/api/status fails: fail to execute the HTTP GET request: Get "https://:5601/\_plugin/kibana/api/status": dial tcp xxx.xxx.xxx.xxx:5601: connect: connection refused. Response: .

any idea? the AWS Elk doesn't have 5601 port opened by design while if I do the CURL on the URL I get all the info I need as it doesn't use the port 5601.

Also the setup goes on HTTP but the AWS one is on HTTPS.

Cheers

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 10, 2020, 11:32am UTC](https://discuss.elastic.co/t/aws-elk-and-metricbeat-issue/255179/2 "2020-12-10T11:32:05Z")

</div>

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