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.
Option | Required | Type | Description |
---|---|---|---|
path | Yes | String | Path 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
当前内容版权归 OpenSearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 OpenSearch .