AWS

Download 48
Last updated Jun 6, 2022

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

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
log_group_nameStringLog group name
stored_bytesLongStored bytes
retentionIntegerRetention
metric_filter_countIntegerMetric filter count
kms_key_idStringKMS key ID
arnStringARN
created_atDateCreated at