Sha256: ed37ad83fbd44197256b8c857357d7a6144be58bbf2184ec300881fde95811be
Contents?: true
Size: 778 Bytes
Versions: 153
Compression:
Stored size: 778 Bytes
Contents
<source> @type dummy @label @exec tag exec_input rate 10 auto_increment_key num dummy {"data":"mydata"} </source> <label @exec> <match exec_input> @type exec_filter @label @stdout tag result command ruby -e 'STDOUT.sync = true; proc = ->(){line = STDIN.readline.chomp; puts line + "\t" + Process.pid.to_s}; 1000.times{ proc.call }' num_children 3 child_respawn -1 <inject> time_key time time_type float </inject> <format> @type tsv keys data, num, time </format> <parse> @type tsv keys data, num, time, pid </parse> <extract> time_key time time_type float </extract> </match> </label> <label @stdout> <match result> @type stdout </match> </label>
Version data entries
153 entries across 153 versions & 2 rubygems