Metricbeat not able to recognise AWS modules

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
~                   

Hey! Not sure what could be the issue here but your version is quite old. Could you try to upgrade to 7.17 maybe?

It's a possibility to upgrade, but how do I debug this? That's bugging me in production.

What happens if you remove the commented out lines?

There is a similar one with a suggestion available: Metricbeat is getting failed when we enable aws metricbeat moulde - #3 by Kaiyan_Sheng

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