Relative Content

Tag Archive for 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