Hello. I'm attempting to set up the AWS module for the first time with MetricBeat. I've got the module enabled, got past the authentication errors I was seeing (created an AWS user with full "ReadOnlyPolicy"), and updated the aws.yml file. I am seeing a little bit of information, which is telling me that my account authorization is working. However, the only 2 services I'm seeing statistics for is EC2 and S3. I'm using the Kibana dashboards I loaded from Elastic for AWS. Here are the issues I'm seeing:
EC2 - only seeing 5 instances - choices seem random
EBS - no statistics at all
RDS - no statistics at all
Usage - seeing minor stats for EC2 and Cloudwatch, but dashboard is saying:
Could not locate that index-pattern-field (id: aws.usage.metrics.ResourceCount.sum)
Could not locate that index-pattern-field (id: aws.usage.metrics.CallCount.sum)
So, I'm definitely connected, but I'm getting very inconsistent data. Here is what my YML looks like:
- module: aws
period: 5m
metricsets:
- cloudwatch
metrics:
- namespace: "*"
#- namespace: AWS/EC2
#name: ["CPUUtilization", "DiskWriteOps"]
# tags.resource_type_filter: ec2:instance
#- namespace: AWS/EBS
#- namespace: AWS/ELB
#- namespace: AWS/Billing
#- namespace: AWS/DX
#- namespace: AWS/ElasticBeanstalk
#- namespace: AWS/Lambda
#- namespace: AWS/Redshift
#- namespace: AWS/RDS
#- namespace: AWS/Route53
#- namespace: AWS/S3
#- namespace: AWS/VPN
access_key_id: 'key'
secret_access_key: key’
- module: aws
period: 5m
metricsets:
- dynamodb
- ebs
- ec2
- lambda
- rds
- sns
- sqs
- vpn
- usage
- elb
access_key_id: ‘key’
secret_access_key: ‘key’
- module: aws
period: 12h
metricsets:
- billing
regions:
- us-east-1
access_key_id: ‘key’
secret_access_key: ‘key’
- module: aws
period: 24h
metricsets:
- s3_daily_storage
- s3_request
access_key_id: ‘key’
secret_access_key: ‘key’