Cannot able to pull RDS metrics using metricbeat

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:

- module: aws
  period: 1m
  role_arn: arn:aws:iam::number:role/test-role
  regions: eu-central-1
  metricsets:
    - rds
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

Hi,

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

Hi @mtojek ,

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

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