Skip to content

Ebin Issac

Technology and Stuff

  • About Me
  • Tools

Tag: cloudwatch

Bulk change retention period of AWS Cloudwatch Log Groups

Posted on April 23, 2021April 23, 2021 by Ebin Issac

By default cloudwatch log groups will have a retention period of “Never expire” set when created. If you have a lot of cloudwatch log groups and want to set retention period for all of them at one shot, use the following powershell code snippet. The script requires you to have the AWS CLI profile configured […]

Posted in TECHNOLOGYTagged AWS, cloudwatch, powershell

Recent Posts

  • Fixing AWS Application Load Balancer HTTP 502 errors with backend on IIS
  • How to configure SAML authentication with Azure AD for Palo Alto Firewalls, with role based access based on Azure AD Group memberships
  • How to find the users who are logged into a Windows server via RDP using Powershell
  • How to avoid distro upgrade for RHEL 8.x when running yum update
  • How to find the LDAP connection string of an AD User / Group with Powershell

Archives

  • March 2024
  • May 2023
  • February 2022
  • September 2021
  • June 2021
  • April 2021
  • March 2021
  • July 2020
  • April 2020
  • October 2019
  • August 2019
  • June 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • March 2018
  • November 2017
  • October 2017
  • July 2017
  • April 2017
  • March 2017
  • January 2017

Categories

  • Personal
  • TECHNOLOGY