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

- 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:
      #  - name: InstanceId
      #    value: i-0686946e22cf9494a
      #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
