# Connecting Merticbeat to AWS

**URL:** <https://discuss.elastic.co/t/connecting-merticbeat-to-aws/229551>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 23, 2020, 9:58pm UTC](https://discuss.elastic.co/t/connecting-merticbeat-to-aws/229551 "2020-04-23T21:58:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spike83](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spike83/32/47036_2.png) [@spike83](https://discuss.elastic.co/u/spike83)\
**Post date:** [April 23, 2020, 9:58pm UTC](https://discuss.elastic.co/t/connecting-merticbeat-to-aws/229551/1 "2020-04-23T21:58:20Z")

</div>

Hi,

I'm having trouble connecting Merticbeat to AWS. I have setup user with a policy assigned with the required access level, generated keys for the user to connect.

Loaded the credentials I to the Aws yml file both directly and by using the credentials file.

Both ways matric loads up fine but doesn't pull any data, I get not errors nothing in the logs etc.. to say it can't connect any doesn't have the right permissions.

Looking at the Aws user it looks like it has never connected.

Is it possible to get more output from Merticbeat to give some form of indication as to the issue?

Thanks.

---

<div class="post-metadata">

**Author:** ![spike83](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spike83/32/47036_2.png) [@spike83](https://discuss.elastic.co/u/spike83)\
**Post date:** [April 24, 2020, 9:32am UTC](https://discuss.elastic.co/t/connecting-merticbeat-to-aws/229551/2 "2020-04-24T09:32:53Z")

</div>

Ok, testing with AWS CLI didn't work, so I added proxy setting which not allow me to run a successful aws sts get-caller-identity

Now in my logs I get the following:

[aws.elb]#011aws/aws.go:107#011failed to get caller identity, please check permission setting: RequestError: send request failed  
metricbeat: caused by: Post [https://sts.amazonaws.com/:](https://sts.amazonaws.com/:) dial tcp xx.xx.xx.xx:443: connect: connection timed out

---

<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:** [May 22, 2020, 11:32am UTC](https://discuss.elastic.co/t/connecting-merticbeat-to-aws/229551/3 "2020-05-22T11:32:55Z")

</div>

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