telegraf/plugins/outputs/nats
Rene Kaufmann 4e9bc06eb2
nats_output: use the configured credentials file (#8986)
2021-03-15 11:09:10 -05:00
..
README.md Added "name" parameter to NATS output plugin (#8429) 2020-11-27 11:24:26 -05:00
nats.go nats_output: use the configured credentials file (#8986) 2021-03-15 11:09:10 -05:00
nats_test.go Integration test audit (#8725) 2021-01-26 11:06:12 -07:00

README.md

NATS Output Plugin

This plugin writes to a (list of) specified NATS instance(s).

[[outputs.nats]]
  ## URLs of NATS servers
  servers = ["nats://localhost:4222"]

  ## Optional client name
  # name = ""

  ## Optional credentials
  # username = ""
  # password = ""

  ## Optional NATS 2.0 and NATS NGS compatible user credentials
  # credentials = "/etc/telegraf/nats.creds"

  ## NATS subject for producer messages
  subject = "telegraf"

  ## Use Transport Layer Security
  # secure = false

  ## Optional TLS Config
  # tls_ca = "/etc/telegraf/ca.pem"
  # tls_cert = "/etc/telegraf/cert.pem"
  # tls_key = "/etc/telegraf/key.pem"
  ## Use TLS but skip chain & host verification
  # insecure_skip_verify = false

  ## Data format to output.
  ## 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"