Fluentd 1.16.3 on windows: how to enrich certain log entries without filtering out the rest?
I need to add a custom field to all log entries that contain string “myapp.database – Statement returned”. All other logs that do not contain this string, should not be discarded/filtered out.
Fluentd Not able to format json to customized output
Below is the json output which we recieve in Fluentd from OTEL Collector
How can I resolve fluentd-plugin-slack error when starting Fluentd daemon: undefined method `unescape’ for URI:Module (NoMethodError)
I’m trying to get fluentd to send messages to slack. I installed fluentd via curl and fluentd-plugin-slack via fluent-gem install fluent-plugin-slack however, I’m getting these errors when trying to systemctl start fluentd:
How to use the output of a command as input of another command in fluentd?
With fluentd, I want to use each line of the output of jps -lv
command (that lists the running JVM on machine), as input argument of jcmd <PID> GC.heap_info
(that gives info on heap usage).
I’ve put a <source>
with command jps -lv
and run_interval 60
in order to cyclically launch jps
, then a <match>
of type @exec_filter
with command gcmd process_pid GC.heap_info