#support

Troubleshooting K8s-infra Blacklist Issues

TLDR Saad reported a problem where unwanted logs from namespaces were still appearing. Prashant identified a typographical error with 'logCollection' needing to be 'logsCollection'.

Powered by Struct AI

1

Nov 19, 2023 (2 weeks ago)
Saad
Photo of md5-0bd9a0371f7ef9304146ba0a1709ceb1
Saad
02:46 PM
another issue am facing is the blacklist for k8s-infra . Below is my override-values.yml - i dont want logs from the below mentioned namespace, but in the logs explorer i still see all the logs from below namespace.
k8s-infra:
  presets:
    logCollection:
      # whether to enable log collection
      enabled: true
      blacklist:
        # whether to enable blacklisting
        enabled: true
        # whether to exclude signoz logs
        signozLogs: true
        # which namespaces to exclude
        namespaces:
          - kube-system
          - kube-public
          - kube-node-lease
          - default
          - doppler-operating-system
          - ingress-nginx
          - karpenter
          - lens-metrics
          - platform
        # which pods to exclude
        pods:
          - hotrod
          - locust
        # which containers to exclude
        containers: []
        # additional exclude rules
        additionalExclude: []
Nov 20, 2023 (2 weeks ago)
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
04:26 AM
logCollection
It should be logsCollection

1