Fluentd Configurations
MD
R
MarkdownCollection of useful Fluentd configurations Docker stores those logs under /var/lib/docker/containers/container-ID/container-ID-json.log on the host machine You’ll need to mount /var/lib/docker/containers as a hostPath volume to the DaemonSet Pod to give the log-collector container access to the logs.
Filter all containers which have fluentd on it's name
<match kubernetes.var.log.containers.fluentd.log> @type null </match>
Read all stdout from all kubernetes* named resources
<match kubernetes.**> @type stdout </match>
Created on 12/3/2019