telegraf/plugins/outputs/logzio
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
..
README.md fix: Restore sample configurations broken during initial migration (#11276) 2022-06-22 13:33:58 -06:00
logzio.go docs: Remove warning not to remove go:embed (#11797) 2022-09-13 12:47:58 -05:00
logzio_test.go A new Logz.io output plugin (#8202) 2020-10-22 11:53:08 -04:00
sample.conf fix: Restore sample configurations broken during initial migration (#11276) 2022-06-22 13:33:58 -06:00

README.md

Logz.io Output Plugin

This plugin sends metrics to Logz.io over HTTPs.

Configuration

# A plugin that can send metrics over HTTPs to Logz.io
[[outputs.logzio]]
  ## Connection timeout, defaults to "5s" if not set.
  # timeout = "5s"

  ## Optional TLS Config
  # tls_ca = "/etc/telegraf/ca.pem"
  # tls_cert = "/etc/telegraf/cert.pem"
  # tls_key = "/etc/telegraf/key.pem"

  ## Logz.io account token
  token = "your logz.io token" # required

  ## Use your listener URL for your Logz.io account region.
  # url = "https://listener.logz.io:8071"

Required parameters

  • token: Your Logz.io token, which can be found under "settings" in your account.

Optional parameters

  • check_disk_space: Set to true if Logz.io sender checks the disk space before adding metrics to the disk queue.
  • disk_threshold: If the queue_dir space crosses this threshold (in % of disk usage), the plugin will start dropping logs.
  • drain_duration: Time to sleep between sending attempts.
  • queue_dir: Metrics disk path. All the unsent metrics are saved to the disk in this location.
  • url: Logz.io listener URL.