Overview

A Pipeline has a Sink.

Sink Common Configuration

Example

  1. sink:
  2. type: "dev"
  3. codec:
  4. type: json
  5. pretty: true

parallelism

fieldtyperequireddefaultdescription
parallelismintfalse1The concurrency of the sink client, which can start multiple clients at the same time to increase the sending throughput.

codec

fieldtyperequireddefaultdescription
codecfalsethe format used by the data sent to sink
codec.typestringfalsejsoncodec type

type: json

fieldtyperequireddefaultdescription
codec.prettyfalsefalseWhether to beautify the json format
codec.beatsFormatfalsefalseThe log is converted into a filebeats-like format: a @timestamp field is added, and the body field is named as message.

type: raw

Used to send the collected raw body data.

Example

  1. sink:
  2. type: dev
  3. codec:
  4. type: raw