Problem statement: Need to fetch logs from AWS resources ELB, cloudwatch, ecs etc. Need help in understanding the configs and why this error is coming.
Metricbeat returns error
Elastic version: 7.6.2
Exiting: 1 error: metricset 'aws/cloudwatch' not found
/etc/metricbeat/modules.d/aws.yml
- module: aws
period: 1m
metricsets:
- elb
- usage
- module: aws
period: 5m
metricsets:
- cloudwatch
metrics:
- namespace: AWS/EC2
#name: ["CPUUtilization", "DiskWriteOps"]
tags.resource_type_filter: ec2:instance
#dimensions:
#statistic: ["Average", "Maximum"]
- module: aws
period: 5m
metricsets:
- ebs
- ec2
- sns
- sqs
- rds
- module: aws
period: 12h
metricsets:
- billing
regions:
- us-east-1
- module: aws
period: 24h
metricsets:
- s3_daily_storage
- s3_request
~