Commit f5c1df0a authored by Satnam Singh's avatar Satnam Singh

Change tag to latest and use correct pos file syntax for detection of log rotation

parent 99356d2a
.PHONY: build push .PHONY: build push
TAG = 1.0 TAG = latest
build: build:
sudo docker build -t kubernetes/fluentd-elasticsearch:$(TAG) . sudo docker build -t kubernetes/fluentd-elasticsearch:$(TAG) .
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
format json format json
time_key time time_key time
path /var/lib/docker/containers/*/*-json.log path /var/lib/docker/containers/*/*-json.log
pos_file /var/lib/docker/containers/containers.log.pos
time_format %Y-%m-%dT%H:%M:%S time_format %Y-%m-%dT%H:%M:%S
tag docker.container.* tag docker.container.*
</source> </source>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment