Amazon CloudWatch
User Guide

Deleting the CloudWatch Agent and FluentD for Container Insights

To delete all resources related to the CloudWatch agent and Fluentd, enter the following command. In this command, Cluster is the name of your Amazon EKS or Kubernetes cluster, and Region is the name of the Region where the logs are published.

curl https://raw.githubusercontent.com/aws-samples/amazon-cloudwatch-container-insights/master/k8s-yaml-templates/quickstart/cwagent-fluentd-quickstart.yaml | sed "s/{{cluster_name}}/Cluster_Name/;s/{{region_name}}/Region/" | kubectl delete -f -