Make the Fluentd/Elasticsearch logging robust to log rotation

This commit is contained in:
Satnam Singh 2014-11-07 02:44:19 -08:00
parent b6956506fa
commit 158067c298

View File

@ -38,7 +38,7 @@
format json
time_key time
path /var/lib/docker/containers/*/*-json.log
pos /var/lib/docker/containers/*/*-json.log.pos
pos_file /var/lib/docker/containers/*/*-json.log.pos
time_format %Y-%m-%dT%H:%M:%S
tag docker.container.*
</source>