Set AWS Cloudwatch log groups Retention Policy for all Log using python boto3 script
In this blog we will write python script using boto3 which will set retention policy for all existing log groups which are already created in the account at one go.
Prerequisite
An AWS Account An IAM User with:
AWS Management Console access to verif...
Manish Gautam
Great article. But I need to apply the retention policy only to those log group whose retention days is more then 30 days. Please help