From 8668d9037101013c7c3c2dd84c1ab566cf0c2877 Mon Sep 17 00:00:00 2001 From: Satnam Singh Date: Wed, 5 Nov 2014 20:00:53 -0800 Subject: [PATCH] Make Fluentd/Elasticsearch logging support be robust to log rotation --- contrib/logging/fluentd-es-image/td-agent.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/logging/fluentd-es-image/td-agent.conf b/contrib/logging/fluentd-es-image/td-agent.conf index 08f7cf5cd71..69c130333ef 100644 --- a/contrib/logging/fluentd-es-image/td-agent.conf +++ b/contrib/logging/fluentd-es-image/td-agent.conf @@ -38,6 +38,7 @@ format json time_key time path /var/lib/docker/containers/*/*-json.log + pos /var/lib/docker/containers/*/*-json.log.pos time_format %Y-%m-%dT%H:%M:%S tag docker.container.*