🦊

aws-cliでパラシを作ろう # CloudWatch

2021/10/11に公開

ロググループ

aws logs describe-log-groups \
    --output json \
    --query "logGroups[].{logGroupName:logGroupName, retentionInDays:retentionInDays, metricFilterCount:metricFilterCount, storedBytes:storedBytes, arn:arn, creationTime:creationTime}" \
    | jq -r ".[] | [.logGroupName, .retentionInDays, .metricFilterCount, .storedBytes, .arn, .creationTime] | @csv"

Discussion