Skip to content

Exclusion not working #571

@stdmje

Description

@stdmje

I am trying to include all logs from a specific namespace but excluding the pods with a label and is not working.

extraEnv:
  - name: LOGDNA_K8S_METADATA_LINE_INCLUSION
    value: namespace:vcluster-ihq-demos
  - name: LOGDNA_K8S_METADATA_LINE_EXCLUSION
    value: "label.vcluster.loft.sh/namespace:kube-system"

I can see all the logs from the pods of that namespace including the ones with that label.

Am i missing something?

Thanks for the help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions