Write File
This processor will write the incoming payload to a file at the specified path. This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type. The incoming payload will be written to the specified file.
- type:
os.writefile - params:
- path: the path of the file to write to
Example
Section titled “Example”Write the incoming payload to a file.
- id: write type: os.writefile params: path: "/tmp/test.txt"