includeNamespaceMetadata

Controls whether mmkubernetes queries and adds namespace metadata.

This parameter applies to mmkubernetes: Kubernetes Metadata Module.

Name:

includeNamespaceMetadata

Scope:

module, action

Type:

boolean

Default:

on

Required?:

no

Introduced:

8.2608.0

Description

When set to off, mmkubernetes does not query the Kubernetes namespace API and does not add namespace_id, namespace_labels, namespace_annotations, or the namespace creation_timestamp. The namespace_name parsed from the input metadata is still added because it is needed to identify and query the pod.

Disabling namespace metadata can reduce Kubernetes API traffic and avoids collecting namespace labels and annotations when they are not needed. Pod metadata collection is unchanged.

Action usage

action(type="mmkubernetes" includeNamespaceMetadata="off")

YAML usage

actions:
  - type: mmkubernetes
    includeNamespaceMetadata: off

See also

See also mmkubernetes: Kubernetes Metadata Module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.