Forum Navigation
You need to log in to create posts and topics.

Add / Change log values using record_transformer

Problem

User wants to change type from metricbeat to k8s value. in order to tag the type of the reporter different for systems like ElasticSearch

Solution
add rule to fluentd.conf file ( or if its config map in kubernetes add to the config map configmap-fluentd.yaml) the following code

<filter>
@type record_transformer
<record>
type k8s
</record>
</filter>