telegraf/plugins/exec
Cameron Sparr 434267898b Indent the toml config for readability 2015-08-26 09:22:03 -06:00
..
README.md
exec.go Indent the toml config for readability 2015-08-26 09:22:03 -06:00
exec_test.go

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.