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:
-
Sign in to the Amazon CloudWatch console
. -
Choose Log Groups from the navigation.
-
Locate the log groups created by the solution
-
Select one of the log groups.
-
Choose Actions.
-
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>