Skip to content

SinksFirehose

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

The firehose sink accepts logging information and emits it into Amazon Kinesis Firehose.

Configuration

The firehose sink configuration options are:

  • delivery_stream :: the delivery stream to emit into
  • region :: the AWS region to emit toward [default: "us-west-2"]
  • batch_size :: the total number of records to report, per emission [default: 400]

Example

[sinks]
  [sinks.firehose.stream_one]
  delivery_stream = "stream_one"
  batch_size = 20

  [sinks.firehose.stream_two]
  delivery_stream = "stream_two"
  batch_size = 400
  region = "us-east-1"

You may configure multiple firehoses, as the above demonstrates.

This enable two firehose sinks, the one reporting to "stream_two" in us-east-1 and the other reporting to "stream_one" in us-west-2. Emission to "stream_one" will have only 20 records per batch write where "stream_two" will attempt 400.