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 | sed "s/{{cluster_name}}/Cluster_Name/;s/{{region_name}}/Region/" | kubectl delete -f -