Sets the retention of the specified log group.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/logs/put-retention-policy.html
| aws logs put-retention-policy --log-group-name my-logs --retention-in-days 5 |
| put-retention-policy — AWS CLI 1.16.10 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/logs/put-retention-policy.html |
| aws logs put-retention-policy --region |
| Set retention policies for AWS CloudWatch Log Groups, for a profile and a region 揃 GitHub : http://gist.github.com/mkjsix/93398280b32aebb7e5379b40e8598b71 |
| aws logs put-retention-policy --region |
| aws/cloudwatch-logs-retention-policy.sh at master 揃 swoodford/aws 揃 GitHub : http://github.com/swoodford/aws/blob/master/cloudwatch-logs-retention-policy.sh |
| aws logs put-retention-policy --log-group-name mylog --retention-in-days 7 |
| amazon web services - Can we set cloudwatch log retention days in /etc/awslogs/awslogs.conf - Stack Overflow : http://stackoverflow.com/questions/45173145/can-we-set-cloudwatch-log-retention-days-in-etc-awslogs-awslogs-conf |
| aws logs put-retention-policy --log-group-name |
| Setting Multiple CloudWatch Retention Policy - AWSomeBlog : http://www.awsomeblog.com/setting-multiple-cloudwatch-retention-policy/ |