Deleting the AWS CloudWatch logs - Research Service Workbench on AWS

Deleting the AWS CloudWatch logs

This solution retains the CloudWatch Logs to prevent accidental data loss if you decide to delete the AWS CloudFormation stack. After uninstalling the solution, you can manually delete these logs if you do not need to retain the data: 

  • VPC Flow Log: begins with <stack-name>-SWBVpcVpcFlowLogGroup

  • APIGateway Access Log: begins with <stack-name>-APIGatewayAccessLogs

Follow these steps to delete the CloudWatch Logs:

  1. Sign in to the Amazon CloudWatch console.

  2. Choose Log Groups from the navigation.

  3. Locate the log groups created by the solution

  4. Select one of the log groups.

  5. Choose Actions.

  6. Choose Delete.

Repeat the steps until you have deleted all the solution log groups.

To delete the CloudWatch logs using AWS CLI, run the following command:

aws logs delete-log-group --log-group-name <value>