telegraf/plugins/exec
me 5e46d5e45a Corrected import paths:
influxdb/telegraf -> koksan83/telegraf
2015-09-22 12:57:12 +08:00
..
README.md 0.1.6, update changelog, readme, plugins list 2015-08-20 14:45:04 -06:00
exec.go Corrected import paths: 2015-09-22 12:57:12 +08:00
exec_test.go Corrected import paths: 2015-09-22 12:57:12 +08:00

README.md

Exec Plugin

The exec plugin can execute arbitrary commands which return flattened JSON.

For example, if you have a json-returning command called mycollector, you could setup the exec plugin with:

[[exec.commands]]
command = "/usr/bin/mycollector --output=json"
name = "mycollector"

The name is used as a prefix for the measurements.