Skip to content

exclude pod or namespace or containers from Kubernates logs #16519

Answered by StephenWakely
therus000 asked this question in Q&A
Discussion options

You must be logged in to vote

Have a look at the docs here: https://master.vector.dev/docs/reference/configuration/sources/kubernetes_logs/#filtering

Generally it would be preferable to set a label on the namespace vector.dev/exclude: "true". These will then automatically be excluded from the source.

Let me know if you have further questions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants