# Module: aws
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.4/metricbeat-module-aws.html

- module: aws
  period: 300s
  metricsets:
    - ec2
  regions:
    - us-east-1
- module: aws
  period: 300s
  metricsets:
    - cloudwatch
  metrics:
    - namespace: AWS/EC2
      name: ["CPUUtilization", "DiskWriteOps"]
      tags.resource_type_filter: ec2:instance
      #dimensions:
      #  - name: InstanceId
      #    value: i-0686946e22cf9494a
      statistic: ["Average", "Maximum"]
