filenamerulebase

Specifies the rulebase file used to match json-file log filenames.

This parameter applies to Kubernetes Metadata Module (mmkubernetes).

Name:

filenamerulebase

Scope:

action

Type:

word

Default:

/etc/rsyslog.d/k8s_filename.rulebase

Required?:

no

Introduced:

at least 8.x, possibly earlier

Description

When processing json-file logs, this is the rulebase used to match the filename and extract metadata. For the actual rules, see filenamerules.

Action usage

action(type="mmkubernetes" filenameRuleBase="/etc/rsyslog.d/k8s_filename.rulebase")

See also

See also Kubernetes Metadata Module (mmkubernetes).


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

Contributing: Source & docs: rsyslog source project

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