Skip to main content

How do I exclude a namespace?

Updated over 3 years ago

Question:

How do I exclude a namespace?

Answer:

A Namespace is included in the file name in /var/log/containers. To exclude a filename, use "LOGDNA_EXCLUDE" with the following syntax:

'/var/log/containers/*_namespace_*','/var/log/containers/blah'

Note that values are comma-separated.

Here's an example you'd use in your yaml:

env:- name: LOGDNA_EXCLUDE  value: '/var/log/containers/*_namespace_*'
Did this answer your question?