Skip to content

SinksNative

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

The Native sink accepts both telemetry and logging information and is intended to be used for one cernan to pass information onto another. The native source uses cernan's native protocol, discussed elsewhere in this wiki. This sink is intended to be used to avoid aggregation costs on particularly sensitive hosts or for use by clients that want flexible ingestion. For instance, you can send a telemetry stream through the native protocol that varies in its metadata tagging through time.

Configuration

The native sink configuration options are as follows:

  • port :: the network port toward which to push data [default: 1972]
  • host :: the host (IP or DNS) toward which to push data [default: "localhost"]
  • flush_interval :: determines how often to flush, overrides global flush_interval [default: 60]

Example

[sinks]
  [sinks.native]
  host = "cernan.example.org"
  port = 1972
  flush_interval = 60

This enables the firehose sink, reporting to a cernan at "cernan.example.org" listening on port 1972. The sink will flush every 60 seconds.