Hi Guys, i want to add multiple filters and 2 ou...
# fluent-operator
n
Hi Guys, i want to add multiple filters and 2 output ( rewrite_tag_filter and http_out) in fluentd . To achieve this i tried to create multiple cluster filter and clusteroutput . But in final config file of fluentd only single filter and single out put is generated. I want below fluentd config to be generated :
g
You can try to use "copy" for multiple outputs on Fluentd
n
i want to use 1 output plugin (rewrite_tag) after reading data from fluentbit and then use filter plugin and then again 2nd (http) output plugin. e.g ------------- sample pipeline which i want to build ------------ # Read from fluent-bit <source> @type forward port 24224 bind 0.0.0.0 tag kube.logs </source> #rewrite tag with namespace name <match kube.logs> @type rewrite_tag_filter <rule> key $.kubernetes.namespace_name pattern ^(.+)$ tag namespace.$1 </rule> </match> #apply custom filter on namespace name <filter namespace.kube> @type custom group "namespace.kube" maxevents 5 duration 60 </filter> <filter namespace.default> @type custom group "namespace.default" maxevents 3 duration 60 </filter> #Send data to http <match **> @type http ssl_no_verify true content_type application/json endpoint https://xxxx headers {"Authorization":"apiKey","Content-Type":"application/json"} json_array true </match>