Update fluentd to latest quay.io image, add json parser for message

This commit is contained in:
Stefan Reimer 2020-09-08 15:05:31 +01:00
parent 1546415746
commit b49a864cbb
2 changed files with 11 additions and 2 deletions

View File

@ -45,3 +45,4 @@
- https://www.elastic.co/downloads/elastic-cloud-kubernetes - https://www.elastic.co/downloads/elastic-cloud-kubernetes
- https://github.com/elastic/cloud-on-k8s - https://github.com/elastic/cloud-on-k8s
- https://grafana.com/grafana/dashboards/7752

View File

@ -31,7 +31,7 @@ fluentd:
enabled: false enabled: false
image: image:
repository: quay.io/fluentd_elasticsearch/fluentd repository: quay.io/fluentd_elasticsearch/fluentd
tag: v2.9.0 tag: v3.0.4
istio: istio:
enabled: false enabled: false
@ -158,7 +158,15 @@ fluentd:
</buffer> </buffer>
</match> </match>
# filter.conf: | filter.conf: |
<filter kube.*>
key_name message
remove_key_name_field true
<parse>
@type json
</parse>
</filter>
# <filter auth system.auth> # <filter auth system.auth>
# @type parser # @type parser
# key_name message # key_name message