1
0
Fork 0
telegraf/plugins/outputs/execd/examples/file/telegraf.conf

10 lines
215 B
Text
Raw Permalink Normal View History

[agent]
interval = "1s"
[[inputs.execd]]
command = ["ruby", "plugins/inputs/execd/examples/count.rb"]
[[outputs.execd]]
command = ["sh", "plugins/outputs/execd/examples/file/file.sh"]
data_format = "json"