How can you exclude the logs of a specific pod from a Kubernetes cluster?

We will use the ingestion control feature here to exclude these particular logs.

To exclude logs from specific pods, follow these steps:

  1. Access the settings section from the left side menu.

  2. Navigate to the ingestion control section.

  3. You will see two options: select either Docker or Kubernetes based on your environment.

  4. Choose Kubernetes, and then in the logs section, select your cluster name.

  5. Next, choose the namespace, deployment, and pod that you want to exclude.

  6. If you want to exclude additional pods or just want to show logs from a particular pod, you can toggle the “include” and “exclude” options according to your needs.

  7. You have now successfully excluded the logs of the selected pod.

ingestion_control_kubernetes