telegraf/plugins/outputs/graylog
Paweł Żak 020b77b239
fix: Linter fixes for plugins/outputs/[g-m]* (#10127)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:40:25 -07:00
..
README.md chore: clean up all markdown lint errors in output plugins (#10159) 2021-11-24 11:47:33 -07:00
graylog.go fix: Linter fixes for plugins/outputs/[g-m]* (#10127) 2021-11-24 12:40:25 -07:00
graylog_test.go fix: Linter fixes for plugins/outputs/[g-m]* (#10127) 2021-11-24 12:40:25 -07:00

README.md

Graylog Output Plugin

This plugin writes to a Graylog instance using the "GELF" format.

Configuration

[[outputs.graylog]]
  ## Endpoints for your graylog instances.
  servers = ["udp://127.0.0.1:12201"]

  ## Connection timeout.
  # timeout = "5s"

  ## The field to use as the GELF short_message, if unset the static string
  ## "telegraf" will be used.
  ##   example: short_message_field = "message"
  # short_message_field = ""

  ## According to GELF payload specification, additional fields names must be prefixed
  ## with an underscore. Previous versions did not prefix custom field 'name' with underscore.
  ## Set to true for backward compatibility.
  # name_field_no_prefix = 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

Server endpoint may be specified without UDP or TCP scheme (eg. "127.0.0.1:12201"). In such case, UDP protocol is assumed. TLS config is ignored for UDP endpoints.