aws-cloudwatch-metrics
Describes all metric names of your AWS CloudWatch.
aws-cloudwatch-metrics [profile=PROFILE] [region=REGION] [namespace=NAMESPACE] [metric=METRIC] [dimension=DIMENSION] [value=VALUE]
- profile=PROFILE
- The identifier of AWS connect profile
- region=REGION
- AWS region
- namespace=NAMESPACE
- Filter by namespace
- metric=METRIC
- Filter by metric
- dimension=DIMENSION
- Filter by dimension
- value=VALUE
- Filter by value
AWS IAM Policy
To use this command, you must allow the below permissions in your AWS IAM policy:
- cloudwatch:ListMetrics
Output Fields
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
namespace | String | Namespace | e.g. AWS/EC2, AWS/RDS |
metric | String | Metric | e.g. CPUUtilization, NetworkPacketsOut |
dimensions | List | Dimensions | Elements with name and value properties |