LogFileGlob¶
Glob that selects Kubernetes log files to tail; default
/var/log/pods/*/*/*.log.
This parameter applies to imkubernetes: Kubernetes input module.
- Name:
LogFileGlob
- Scope:
module
- Type:
path
- Default:
/var/log/pods/*/*/*.log- Required?:
no
- Introduced:
8.2604.0
Description¶
Use this to point imkubernetes at the node-local container log files you
want to follow. Common values are /var/log/pods/*/*/*.log and
/var/log/containers/*.log.
Module usage¶
module(load="imkubernetes" LogFileGlob="/var/log/pods/*/*/*.log")
See also¶
See also imkubernetes: Kubernetes input 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.