Adjust POS file for Fluentd to Cloud Logging

This commit is contained in:
Satnam Singh
2015-03-17 10:28:53 -07:00
parent 879a39bcc4
commit 0212e68e91
3 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
.PHONY: build push
TAG = 1.1
TAG = 1.2
build:
sudo docker build -t kubernetes/fluentd-gcp:$(TAG) .

View File

@@ -17,7 +17,7 @@
format none
time_key time
path /var/lib/docker/containers/*/*-json.log
pos_file /var/lib/docker/containers/containers.log.pos
pos_file /var/lib/docker/containers/gcp-containers.log.pos
time_format %Y-%m-%dT%H:%M:%S
tag docker.*
read_from_head true
@@ -37,7 +37,7 @@
format none
time_key time
path /varlog/kubelet.log
pos_file /varlog/kubelet.log.pos
pos_file /varlog/gcp-kubelet.log.pos
tag kubelet
</source>