file

Use the file sink to create a flat file output, usually a .log file.

Configuration options

The following table describes options you can configure for the file sink.

OptionRequiredTypeDescription
pathYesStringPath for the output file (e.g. logs/my-transformed-log.log).

Usage

The following example shows basic usage of the file sink:

  1. sample-pipeline:
  2. sink:
  3. - file:
  4. path: path/to/output-file