mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Make Fluentd/Elasticsearch logging support be robust to log rotation
This commit is contained in:
parent
5579f09792
commit
8668d90371
@ -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 /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>
|
||||||
|
Loading…
Reference in New Issue
Block a user