The kubernetes() source collects container logs managed by the Kubelet. The kubernetes() source is available in syslog-ng OSE version
By default, it reads the /var/log/containers folder and extracts both Kubernetes metadata and the log content.
Declaration:
kubernetes( base-dir("<pathname>") );