Skip to content

SinksInfluxdb

Brian L. Troutwine edited this page Oct 3, 2017 · 1 revision

The InfluxDB sink emits Telemetry into InfluxDB, a time-series database.

Configuration

The influxdb sink configuration options are as follows:

  • port :: the port InfluxDB is running on [default: 8089]
  • host :: the host (IP or DNS) InfluxDB is running on [default: 127.0.0.1]
  • bin_width :: the width in seconds for aggregating bins [default: 1]

Example

[sinks]
  [sinks.influxdb]
  bin_width = 10
  host = "influxdb.example.org"
  port = 8089

This enables the influxdb sink, pointing cernan to a database running at "influxdb.example.org" which listens on port 8089. The influxdb sink will aggregate into bins ten seconds wide.