Forum breadcrumbs - You are here:Tracston Community Forum - DevOps, Micro Services, Cloud, Infrastructure, Development, Monitoring and more...Monitoring, Logging, Tracing: LoggingFluentdAdd / Change log values using rec …
You need to log in to create posts and topics.
Add / Change log values using record_transformer
moshe@moshe
#1 · 23/10/2020, 4:43 pm
Quote from moshe on 23/10/2020, 4:43 pmProblem
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>
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>
Click for thumbs down.0Click for thumbs up.0