telegraf/plugins/outputs/execd
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
..
examples execd output (#7761) 2020-07-02 11:59:29 -04:00
README.md clarify docs and add warning if execd is misconfigured (#7866) 2020-07-20 22:38:00 -04:00
execd.go clarify docs and add warning if execd is misconfigured (#7866) 2020-07-20 22:38:00 -04:00
execd_test.go Remove error return type from metric.New method (#9116) 2021-04-13 14:40:03 -04:00

README.md

Execd Output Plugin

The execd plugin runs an external program as a daemon.

Telegraf minimum version: Telegraf 1.15.0

Configuration:

[[outputs.execd]]
  ## One program to run as daemon.
  ## NOTE: process and each argument should each be their own string
  command = ["my-telegraf-output", "--some-flag", "value"]

  ## Delay before the process is restarted after an unexpected termination
  restart_delay = "10s"

  ## Data format to export.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
  data_format = "influx"

Example

see examples