Unverified Commit a2f4f585 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #67947 from saravanan30erd/fluentd-elasticsearch

Automatic merge from submit-queue (batch tested with PRs 67067, 67947). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fixes fluentd configuration params in fluentd-elasticsearch addon **What this PR does / why we need it**: - fixes the errors/warnings in fluentd configuration. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: ``` 2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches 2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches 2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches 2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches 2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches 2018-08-28 11:40:50 +0000 [warn]: parameter 'time_format' in <source> @id fluentd-containers.log @type tail path "/var/log/containers/*.log" pos_file "/var/log/es-containers.log.pos" time_format %Y-%m-%dT%H:%M:%S.%NZ tag "raw.kubernetes.*" read_from_head true <parse> @type "multi_format" <pattern> format json time_key "time" time_format "%Y-%m-%dT%H:%M:%S.%NZ" time_type string </pattern> <pattern> format /^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$/ time_format "%Y-%m-%dT%H:%M:%S.%N%:z" expression ^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$ ignorecase false multiline false </pattern> </parse> </source> is not used. ``` **Release note**: ```release-note fixes the errors/warnings in fluentd configuration ```
parents 42c6f1fb c493bef2
...@@ -115,7 +115,6 @@ data: ...@@ -115,7 +115,6 @@ data:
@type tail @type tail
path /var/log/containers/*.log path /var/log/containers/*.log
pos_file /var/log/es-containers.log.pos pos_file /var/log/es-containers.log.pos
time_format %Y-%m-%dT%H:%M:%S.%NZ
tag raw.kubernetes.* tag raw.kubernetes.*
read_from_head true read_from_head true
<parse> <parse>
...@@ -308,7 +307,7 @@ data: ...@@ -308,7 +307,7 @@ data:
<source> <source>
@id journald-docker @id journald-docker
@type systemd @type systemd
filters [{ "_SYSTEMD_UNIT": "docker.service" }] matches [{ "_SYSTEMD_UNIT": "docker.service" }]
<storage> <storage>
@type local @type local
persistent true persistent true
...@@ -321,7 +320,7 @@ data: ...@@ -321,7 +320,7 @@ data:
<source> <source>
@id journald-container-runtime @id journald-container-runtime
@type systemd @type systemd
filters [{ "_SYSTEMD_UNIT": "{{ container_runtime }}.service" }] matches [{ "_SYSTEMD_UNIT": "{{ container_runtime }}.service" }]
<storage> <storage>
@type local @type local
persistent true persistent true
...@@ -334,7 +333,7 @@ data: ...@@ -334,7 +333,7 @@ data:
<source> <source>
@id journald-kubelet @id journald-kubelet
@type systemd @type systemd
filters [{ "_SYSTEMD_UNIT": "kubelet.service" }] matches [{ "_SYSTEMD_UNIT": "kubelet.service" }]
<storage> <storage>
@type local @type local
persistent true persistent true
...@@ -347,7 +346,7 @@ data: ...@@ -347,7 +346,7 @@ data:
<source> <source>
@id journald-node-problem-detector @id journald-node-problem-detector
@type systemd @type systemd
filters [{ "_SYSTEMD_UNIT": "node-problem-detector.service" }] matches [{ "_SYSTEMD_UNIT": "node-problem-detector.service" }]
<storage> <storage>
@type local @type local
persistent true persistent true
...@@ -360,7 +359,7 @@ data: ...@@ -360,7 +359,7 @@ data:
<source> <source>
@id kernel @id kernel
@type systemd @type systemd
filters [{ "_TRANSPORT": "kernel" }] matches [{ "_TRANSPORT": "kernel" }]
<storage> <storage>
@type local @type local
persistent true persistent true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment