aws-cloudwatch-log-groups
List all CloudWatch log groups.
aws-cloudwatch-log-groups [profile=PROFILE] [region=REGION]
- profile=PROFILE
- The identifier of AWS connect profile
- region=REGION
- AWS region
AWS IAM Policy
To use this command, you must allow the below permissions in your AWS IAM policy:
- logs:DescribeLogGroups
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 |
log_group_name | String | Log group name | |
stored_bytes | Long | Stored bytes | |
retention | Integer | Retention | |
metric_filter_count | Integer | Metric filter count | |
kms_key_id | String | KMS key ID | |
arn | String | ARN | |
created_at | Date | Created at |