mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Merge pull request #2230 from satnam6502/fluentd-es-image
Make the Fluentd/Elasticsearch logging robust to log rotation
This commit is contained in:
@@ -38,7 +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 /var/lib/docker/containers/*/*-json.log.pos
|
pos_file /var/lib/docker/containers/*/*-json.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>
|
||||||
|
Reference in New Issue
Block a user