Fix fluentd-gcp configuration to handle different timezones on the node

This commit is contained in:
Mik Vyatskov
2017-01-24 11:53:15 +01:00
parent 0fac54e65e
commit 7b194d496f
4 changed files with 7 additions and 7 deletions

View File

@@ -26,7 +26,7 @@
.PHONY: build push
PREFIX=gcr.io/google_containers
TAG = 1.34
TAG = 1.35
build:
docker build --pull -t $(PREFIX)/fluentd-gcp:$(TAG) .

View File

@@ -54,7 +54,7 @@
time_key time
path /var/log/containers/*.log
pos_file /var/log/gcp-containers.log.pos
time_format %Y-%m-%dT%H:%M:%S.%NZ
time_format %Y-%m-%dT%H:%M:%S.%N%Z
tag reform.*
read_from_head true
</source>