telegraf/plugins/outputs/influxdb
Daniel Nelson 222a68d72e Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00
..
README.md Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00
http.go Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00
http_test.go Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00
influxdb.go Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00
influxdb_test.go Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00
udp.go Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00
udp_test.go Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00

README.md

InfluxDB Output Plugin

This InfluxDB output plugin writes metrics to the InfluxDB HTTP or UDP service.

Configuration:

# Configuration for sending metrics to InfluxDB
[[outputs.influxdb]]
  ## The full HTTP or UDP URL for your InfluxDB instance.
  ##
  ## Multiple URLs can be specified for a single cluster, only ONE of the
  ## urls will be written to each interval.
  # urls = ["udp://127.0.0.1:8089"]
  # urls = ["http://127.0.0.1:8086"]

  ## The target database for metrics; will be created as needed.
  # database = "telegraf"

  ## Name of existing retention policy to write to.  Empty string writes to
  ## the default retention policy.
  # retention_policy = ""

  ## Write consistency (clusters only), can be: "any", "one", "quorum", "all"
  # write_consistency = "any"

  ## Timeout for HTTP messages.
  # timeout = "5s"

  ## HTTP Basic Auth
  # username = "telegraf"
  # password = "metricsmetricsmetricsmetrics"

  ## HTTP User-Agent
  # user_agent = "telegraf"

  ## UDP payload size is the maximum packet size to send.
  # udp_payload = 512

  ## Optional SSL Config
  # ssl_ca = "/etc/telegraf/ca.pem"
  # ssl_cert = "/etc/telegraf/cert.pem"
  # ssl_key = "/etc/telegraf/key.pem"
  ## Use SSL but skip chain & host verification
  # insecure_skip_verify = false

  ## HTTP Proxy override, if unset values the standard proxy environment
  ## variables are consulted to determine which proxy, if any, should be used.
  # http_proxy = "http://corporate.proxy:3128"

  ## Additional HTTP headers
  # http_headers = {"X-Special-Header" = "Special-Value"}

  ## HTTP Content-Encoding for write request body, can be set to "gzip" to
  ## compress body or "identity" to apply no encoding.
  # content_encoding = "identity"