telegraf/plugins/outputs/execd
Sebastian Spaink a7df6c6aa6
feat: migrate output plugins to new sample config format (#10910)
2022-04-07 15:55:03 -06:00
..
examples execd output (#7761) 2020-07-02 11:59:29 -04:00
README.md feat: migrate output plugins to new sample config format (#10910) 2022-04-07 15:55:03 -06:00
execd.go feat: migrate output plugins to new sample config format (#10910) 2022-04-07 15:55:03 -06:00
execd_sample_config.go feat: migrate output plugins to new sample config format (#10910) 2022-04-07 15:55:03 -06:00
execd_test.go fix: Linter fixes for plugins/outputs/[a-f]* (#10124) 2021-11-18 09:26:24 -07:00

README.md

Execd Output Plugin

The execd plugin runs an external program as a daemon.

Telegraf minimum version: Telegraf 1.15.0

Configuration

# Run executable as long-running output plugin
[[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