跳到正文
本页尚未翻译成中文,以下为英文原文。 查看英文版

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:

sample-pipeline:
  sink:
    - file:
        path: path/to/output-file