# Module: aws # Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.10/metricbeat-module-aws.html - module: aws period: 1m metricsets: - elb - natgateway - rds - transitgateway - usage - vpn role_arn: arn:aws:iam::444732909647:role/ams_integrate - module: aws period: 5m metricsets: - cloudwatch metrics: - namespace: AWS/EC2 #name: ["CPUUtilization", "DiskWriteOps"] resource_type: ec2:instance #dimensions: # - name: InstanceId # value: i-0686946e22cf9494a #statistic: ["Average", "Maximum"] role_arn: arn:aws:iam::444732909647:role/ams_integrate - module: aws period: 5m metricsets: - dynamodb - ebs - ec2 - lambda - rds - sns - sqs role_arn: arn:aws:iam::444732909647:role/ams_integrate - module: aws period: 24h metricsets: - billing cost_explorer_config: group_by_dimension_keys: - "AZ" - "INSTANCE_TYPE" - "SERVICE" # group_by_tag_keys: # - "aws:createdBy" # role_arn: arn:aws:iam::444732909647:role/ams_integrate - module: aws period: 24h metricsets: - s3_daily_storage role_arn: arn:aws:iam::444732909647:role/ams_integrate - module: aws period: 1m latency: 5m metricsets: - s3_request role_arn: arn:aws:iam::444732909647:role/ams_integrate