# Cannot able to pull RDS metrics using metricbeat

**URL:** <https://discuss.elastic.co/t/cannot-able-to-pull-rds-metrics-using-metricbeat/305717>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [May 26, 2022, 1:22pm UTC](https://discuss.elastic.co/t/cannot-able-to-pull-rds-metrics-using-metricbeat/305717 "2022-05-26T13:22:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkatkumar229](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatkumar229/32/104663_2.png) [@venkatkumar229](https://discuss.elastic.co/u/venkatkumar229)\
**Post date:** [May 26, 2022, 1:22pm UTC](https://discuss.elastic.co/t/cannot-able-to-pull-rds-metrics-using-metricbeat/305717/1 "2022-05-26T13:22:30Z")

</div>

Hi Team,

I am trying to pull the AWS RDS metrics from metricbeat using AWS module and i have got the arn\_role to pull the metrics. But when i run metricbeat i am getting below error. Could you please help me to solve this issue.

My aws config file:

```auto
- module: aws
  period: 1m
  role_arn: arn:aws:iam::number:role/test-role
  regions: eu-central-1
  metricsets:
    - rds

```

```auto
instance/beat.go:1015 Exiting: 1 error: error creating aws metricset: failed to retrieve aws credentials, please check AWS credential in config: EC2RoleRequestError: no EC2 instance role found

Exiting: 1 error: error creating aws metricset: failed to retrieve aws credentials, please check AWS credential in config: EC2RoleRequestError: no EC2 instance role found

```

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [May 30, 2022, 3:13pm UTC](https://discuss.elastic.co/t/cannot-able-to-pull-rds-metrics-using-metricbeat/305717/2 "2022-05-30T15:13:49Z")

</div>

Hi,

Where are you trying to run metricbeat? on the AWS host or on your laptop?

---

<div class="post-metadata">

**Author:** ![venkatkumar229](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatkumar229/32/104663_2.png) [@venkatkumar229](https://discuss.elastic.co/u/venkatkumar229)\
**Post date:** [May 30, 2022, 8:08pm UTC](https://discuss.elastic.co/t/cannot-able-to-pull-rds-metrics-using-metricbeat/305717/3 "2022-05-30T20:08:40Z")

</div>

Hi @mtojek ,

I am using AWS EC2 machine to run metricbeat to pull the RDS Metrics.

---

<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:** [June 27, 2022, 10:09pm UTC](https://discuss.elastic.co/t/cannot-able-to-pull-rds-metrics-using-metricbeat/305717/4 "2022-06-27T22:09:27Z")

</div>

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