Skip to Content
Fluentd

Fluentd

example

fluentd.conf

<match apiserver.development> @type rewrite_tag_filter <rule> key level pattern /info/ tag info.dev.apiserver </rule> <rule> key level pattern /error/ tag error.dev.apiserver </rule> </match> <match info.dev.apiserver> @type file path /var/log/fluent/apiserver_dev_info <buffer> timekey 1d timekey_wait 10m </buffer> </match> <match error.dev.apiserver> @type file path /var/log/fluent/apiserver_error_info <buffer> timekey 1d timekey_wait 10m </buffer> </match>
Last updated on