File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1773,6 +1773,20 @@ $FLUENTD_CONFIG = @'
1773
1773
tag kube-proxy
1774
1774
</source>
1775
1775
1776
+ # Example:
1777
+ # I0928 03:15:50.440223 4880 main.go:51] Starting CSI-Proxy Server ...
1778
+ <source>
1779
+ @type tail
1780
+ format multiline
1781
+ multiline_flush_interval 5s
1782
+ format_firstline /^\w\d{4}/
1783
+ format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
1784
+ time_format %m%d %H:%M:%S.%N
1785
+ path /etc/kubernetes/logs/csi-proxy.log
1786
+ pos_file /etc/kubernetes/logs/gcp-csi-proxy.log.pos
1787
+ tag csi-proxy
1788
+ </source>
1789
+
1776
1790
# Example:
1777
1791
# time="2019-12-10T21:27:59.836946700Z" level=info msg="loading plugin \"io.containerd.grpc.v1.cri\"..." type=io.containerd.grpc.v1
1778
1792
<source>
You can’t perform that action at this time.
0 commit comments