mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Add keep_time_key setting to fluentd configuration
This commit is contained in:
parent
5ea0b254a1
commit
9987d34016
@ -1732,6 +1732,7 @@ $FLUENTD_CONFIG = @'
|
|||||||
format json
|
format json
|
||||||
time_key time
|
time_key time
|
||||||
time_format %Y-%m-%dT%H:%M:%S.%NZ
|
time_format %Y-%m-%dT%H:%M:%S.%NZ
|
||||||
|
keep_time_key
|
||||||
</pattern>
|
</pattern>
|
||||||
<pattern>
|
<pattern>
|
||||||
format /^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$/
|
format /^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$/
|
||||||
|
Loading…
Reference in New Issue
Block a user