I am currently in the process of implementing the aws module in Metricbeat. I have followed the documentation for setup and everything looks ok. However, I am getting the following error:
beat: Exiting: 1 error: 1 error: error creating aws metricset: Failed DescribeRegions: EmptyStati cCreds: static credentials are empty
Here is the metricbeat.yml configuration for the aws module.
metricbeat.modules:
- module: aws
period: 300s
metricsets:- ec2
access_key_id: '{AWS_SESSION_TOKEN: "access_id"}' secret_access_key: '{SECRET_ACCESS_KEY: "secret"}'
default_region: '${DEFAULT_REGION:us-east-1}'
- ec2
The server is Centos7. The only module enabled is the aws module. I have the policy setup, but it appears to not get to that point.
Any ideas?