diff --git a/contrib/logging/fluentd-es-image/Makefile b/contrib/logging/fluentd-es-image/Makefile index d4a7c051930..d47c2b1f4ad 100644 --- a/contrib/logging/fluentd-es-image/Makefile +++ b/contrib/logging/fluentd-es-image/Makefile @@ -1,6 +1,6 @@ .PHONY: build push -TAG = 1.0 +TAG = latest build: sudo docker build -t kubernetes/fluentd-elasticsearch:$(TAG) . diff --git a/contrib/logging/fluentd-es-image/td-agent.conf b/contrib/logging/fluentd-es-image/td-agent.conf index 08f7cf5cd71..209655a6480 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_file /var/lib/docker/containers/containers.log.pos time_format %Y-%m-%dT%H:%M:%S tag docker.container.*