Link Search Menu Expand Document Documentation Menu

This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.


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).


The following example shows basic usage of the file sink:

    - file:
        path: path/to/output-file
350 characters left

Have a question? .

Want to contribute? or .