mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Add CSI proxy log to fluentd
Add csi proxy log
This commit is contained in:
parent
cea1d4e20b
commit
f973c1d96e
@ -1773,6 +1773,20 @@ $FLUENTD_CONFIG = @'
|
|||||||
tag kube-proxy
|
tag kube-proxy
|
||||||
</source>
|
</source>
|
||||||
|
|
||||||
|
# Example:
|
||||||
|
# I0928 03:15:50.440223 4880 main.go:51] Starting CSI-Proxy Server ...
|
||||||
|
<source>
|
||||||
|
@type tail
|
||||||
|
format multiline
|
||||||
|
multiline_flush_interval 5s
|
||||||
|
format_firstline /^\w\d{4}/
|
||||||
|
format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
|
||||||
|
time_format %m%d %H:%M:%S.%N
|
||||||
|
path /etc/kubernetes/logs/csi-proxy.log
|
||||||
|
pos_file /etc/kubernetes/logs/gcp-csi-proxy.log.pos
|
||||||
|
tag csi-proxy
|
||||||
|
</source>
|
||||||
|
|
||||||
# Example:
|
# Example:
|
||||||
# time="2019-12-10T21:27:59.836946700Z" level=info msg="loading plugin \"io.containerd.grpc.v1.cri\"..." type=io.containerd.grpc.v1
|
# time="2019-12-10T21:27:59.836946700Z" level=info msg="loading plugin \"io.containerd.grpc.v1.cri\"..." type=io.containerd.grpc.v1
|
||||||
<source>
|
<source>
|
||||||
|
Loading…
Reference in New Issue
Block a user