telegraf/plugins/outputs/nats
Daniel Nelson 633dfe2a19
Add secure option to NATS output to mirror input
2019-08-02 16:58:04 -07:00
..
README.md Add secure option to NATS output to mirror input 2019-08-02 16:58:04 -07:00
nats.go Add secure option to NATS output to mirror input 2019-08-02 16:58:04 -07:00
nats_test.go

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 credentials
  # username = ""
  # password = ""
  ## 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"