Executes an external command on the contents of a flow file, and creates a new flow file with the results of the command.
Tags: command execution, command, stream, execute
Properties:
In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
Name | Description | Default Value | Valid Values | EL | Sensitive |
---|---|---|---|---|---|
Command Arguments | The arguments to supply to the executable delimited by the ';' character. | Yes | No | ||
Command Path | Specifies the command to be executed; if just the name of an executable is provided, it must be in the user's environment PATH. | Yes | No | ||
Working Directory | The directory to use as the current working directory when executing the command | Yes | No |
Relationships:
Name | Description |
---|---|
original | FlowFiles that were successfully processed |
output stream | The destination path for the flow file created from the command's output |