Fluentbit: Update version, config util template
This updates fluentbit to version v0.14.2, which includes the Modify plugin (required for trimming underscores from systemd log fields, necessary for kibana visualization). This also updates the fluentbit configuration util to allow for renaming multiple entries in an event. This is required because the values definition for a configuration section is defined as a map, and does not supported multiple Rename directives Change-Id: I05172e8236282a438587887f4a806cf35c4b6c68
This commit is contained in:
parent
0f2dace4e8
commit
8e2d3a5b4c
@ -31,8 +31,14 @@ limitations under the License.
|
||||
{{- $config := omit . "header" }}
|
||||
[{{$header.header | upper }}]
|
||||
{{range $key, $value := $config -}}
|
||||
{{ if eq $key "Rename" }}
|
||||
{{- range $original, $new := $value -}}
|
||||
{{ printf "Rename %s %s" $original $new | indent 4 }}
|
||||
{{end}}
|
||||
{{- else -}}
|
||||
{{ $key | indent 4 }} {{ $value }}
|
||||
{{end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
@ -36,7 +36,7 @@ labels:
|
||||
|
||||
images:
|
||||
tags:
|
||||
fluentbit: docker.io/fluent/fluent-bit:0.12.14
|
||||
fluentbit: docker.io/fluent/fluent-bit:0.14.2
|
||||
fluentd: docker.io/fluent/fluentd-kubernetes-daemonset:v1.2-debian-elasticsearch
|
||||
prometheus_fluentd_exporter: docker.io/srwilkers/fluentd_exporter:v0.1
|
||||
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
|
||||
|
Loading…
Reference in New Issue
Block a user