--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
hi,Is this related to a Kubernetes environment ?
the target file path of the link should not affect the behavior on in_tail and kubernetes metadata filter. Some questions:1. which Kubernetes distro are you using ? (tectonic, openshift,..)
2. what's the main problem you are facing from a log collection perspective ?
Normally /var/lib/docker/containers symlink is /var/log/containers. Now /var/log/container is the symlink for /var/log/pods and fluentd can't find the logs. What's causing the change in the path?
On Wed, Sep 20, 2017 at 12:15 PM, CD Truong <dcvt...@gmail.com> wrote:
Hi,I'm getting a behavior where the /var/log/containers symbolic link is not /var/lib/docker/container in docker 1.12.6 .Originally, running docker 1.12.5 the /var/log/containers symlink is /var/lib/docker/container.....Since docker 1.12.5 is no longer available in the docker repo, I have to use 1.12.6Now that docker is running 1.12.6 the /var/log/containers symlinks is /var/log/pods/uid_folder/log_file.logI'm running fluentd v0.12.31 + alpine 3.4Thanks,DT
--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
ls -l /var/log/containers.logThis is the fluentd container:zookeeper-0_default_zookeeper-0fb430a5b497f94353899c1d4b6f28435a9d9d5df1abb12423bb4e80b571843b.log -> /var/log/pods/21634f7b-9990-11e7-bafe-00505691ce55/zookeeper_1.logzookeeper-0_default_zookeeper-94839840173e0c2a7d9170668cddf36f2ba551cf85eecc5cd813cbb8cfa80d4b.log -> /var/log/pods/21634f7b-9990-11e7-bafe-00505691ce55/zookeeper_2.logAt the directory /var/log/pods/21634f7b-9990-11e7-bafe-00505691ce55zookeeper_1.log -> /var/lib/docker/containers/0fb430a5b497f94353899c1d4b6f28435a9d9d5df1abb12423bb4e80b571843b/0fb430a5b497f94353899c1d4b6f28435a9d9d5df1abb12423bb4e80b571843b-json.logzookeeper_2.log -> /var/lib/docker/containers/94839840173e0c2a7d9170668cddf36f2ba551cf85eecc5cd813cbb8cfa80d4b/94839840173e0c2a7d9170668cddf36f2ba551cf85eecc5cd813cbb8cfa80d4b-json.logThe path /var/lib/docker/containers is emptyThis is on the host path node:zookeeper-0_default_zookeeper-0fb430a5b497f94353899c1d4b6f28435a9d9d5df1abb12423bb4e80b571843b.log -> /var/log/pods/21634f7b-9990-11e7-bafe-00505691ce55/zookeeper_1.logzookeeper-0_default_zookeeper-94839840173e0c2a7d9170668cddf36f2ba551cf85eecc5cd813cbb8cfa80d4b.log -> /var/log/pods/21634f7b-9990-11e7-bafe-00505691ce55/zookeeper_2.log
$ kubectl describe pod fluentd-...
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.