- AppendHostInfo
- ApplyTemplate
- AttributesToJSON
- BinFiles
- CapturePacket
- CaptureRTSPFrame
- CompressContent
- ConsumeJournald
- ConsumeKafka
- ConsumeMQTT
- DeleteS3Object
- ExecuteProcess
- ExecutePythonProcessor
- ExecuteSQL
- ExecuteScript
- ExtractText
- FetchOPCProcessor
- FetchS3Object
- FetchSFTP
- FocusArchiveEntry
- GenerateFlowFile
- GetFile
- GetGPS
- GetTCP
- GetUSBCamera
- HashContent
- InvokeHTTP
- ListSFTP
- ListenHTTP
- ListenSyslog
- ListS3
- LogAttribute
- ManipulateArchive
- MergeContent
- MotionDetector
- PerformanceDataMonitor
- PublishKafka
- PublishMQTT
- PutAzureBlobStorage
- PutAzureDataLakeStorage
- PutFile
- PutOPCProcessor
- PutS3Object
- PutSFTP
- PutSQL
- QueryDatabaseTable
- RetryFlowFile
- RouteOnAttribute
- TailFile
- UnfocusArchiveEntry
- UpdateAttribute
Appends host information such as IP address and hostname as an attribute to incoming flowfiles.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Hostname Attribute | source.hostname | Flowfile attribute used to record the agent's hostname | |
IP Attribute | source.ipv4 | Flowfile attribute used to record the agent's IP address | |
Network Interface Filter | A regular expression to filter ip addresses based on the name of the network interface | ||
Refresh Policy | On schedule | On schedule On every trigger |
When to recalculate the host info |
Name | Description |
---|---|
success | success operational on the flow record |
Applies the mustache template specified by the "Template" property and writes the output to the flow file content. FlowFile attributes are used as template parameters.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Template | Path to the input mustache template file |
Name | Description |
---|---|
success | success operational on the flow record |
Generates a JSON representation of the input FlowFile Attributes. The resulting JSON can be written to either a new Attribute 'JSONAttributes' or written to the FlowFile as content.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Attributes List | Comma separated list of attributes to be included in the resulting JSON. If this value is left empty then all existing Attributes will be included. This list of attributes is case sensitive. If an attribute specified in the list is not found it will be be emitted to the resulting JSON with an empty string or NULL value. | ||
Attributes Regular Expression | Regular expression that will be evaluated against the flow file attributes to select the matching attributes. Both the matching attributes and the selected attributes from the Attributes List property will be written in the resulting JSON. | ||
Destination | flowfile-attribute | flowfile-attribute flowfile-content |
Control if JSON value is written as a new flowfile attribute 'JSONAttributes' or written in the flowfile content. Writing to flowfile content will overwrite any existing flowfile content. |
Include Core Attributes | true | Determines if the FlowFile core attributes which are contained in every FlowFile should be included in the final JSON value generated. | |
Null Value | false | If true a non existing selected attribute will be NULL in the resulting JSON. If false an empty string will be placed in the JSON. |
Name | Description |
---|---|
success | All FlowFiles received are routed to success |
Bins flow files into buckets based on the number of entries or size of entries
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Max Bin Age | The maximum age of a Bin that will trigger a Bin to be complete. Expected format is | ||
Maximum Group Size | The maximum size for the bundle. If not specified, there is no maximum. | ||
Maximum Number of Entries | The maximum number of files to include in a bundle. If not specified, there is no maximum. | ||
Maximum number of Bins | 100 | Specifies the maximum number of bins that can be held in memory at any one time | |
Minimum Group Size | 0 | The minimum size of for the bundle | |
Minimum Number of Entries | 1 | The minimum number of files to include in a bundle |
Name | Description |
---|---|
failure | If the bundle cannot be created, all FlowFiles that would have been used to create the bundle will be transferred to failure |
original | The FlowFiles that were used to create the bundle |
CapturePacket captures and writes one or more packets into a PCAP file that will be used as the content of a flow file. Configuration options exist to adjust the batching of PCAP files. PCAP batching will place a single PCAP into a flow file. A regular expression selects network interfaces. Bluetooth network interfaces can be selected through a separate option.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Base Directory | /tmp/ | Scratch directory for PCAP files | |
Batch Size | 50 | The number of packets to combine within a given PCAP | |
Capture Bluetooth | false | True indicates that we support bluetooth interfaces | |
Network Controllers | .* | Regular expression of the network controller(s) to which we will attach |
Name | Description |
---|---|
success | All files are routed to success |
Captures a frame from the RTSP stream at specified intervals.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Image Encoding | .jpg | The encoding that should be applied the the frame images captured from the RTSP stream | |
RTSP Hostname | Hostname of the RTSP stream we are trying to connect to | ||
RTSP Password | Password used to connect to the RTSP stream | ||
RTSP Port | Port that should be connected to to receive RTSP Frames | ||
RTSP URI | URI that should be appended to the RTSP stream hostname | ||
RTSP Username | The username for connecting to the RTSP stream |
Name | Description |
---|---|
failure | Failures to capture RTSP frame |
success | Successful capture of RTSP frame |
Compresses or decompresses the contents of FlowFiles using a user-specified compression algorithm and updates the mime.type attribute as appropriate
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Compression Format | use mime.type attribute | The compression format to use. | |
Compression Level | 1 | The compression level to use; this is valid only when using GZIP compression. | |
Mode | compress | Indicates whether the processor should compress content or decompress content. | |
Update Filename | false | Determines if filename extension need to be updated |
Name | Description |
---|---|
failure | FlowFiles will be transferred to the failure relationship if they fail to compress/decompress |
success | FlowFiles will be transferred to the success relationship after successfully being compressed or decompressed |
Consume systemd-journald journal messages. Available on Linux only.
All properties are required with a default value, making them effectively optional. None of the properties support the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Batch Size | 1000 | Positive numbers | The maximum number of entries processed in a single execution. |
Payload Format | Syslog | Raw Syslog |
Configures flow file content formatting. Raw: only the message. Syslog: similar to syslog or journalctl output. |
Include Timestamp | true | true false |
Include message timestamp in the 'timestamp' attribute. |
Journal Type | System | User System Both |
Type of journal to consume. |
Process Old Messages | false | true false |
Process events created before the first usage (schedule) of the processor instance. |
Timestamp Format | %x %X %Z | date format | Format string to use when creating the timestamp attribute or writing messages in the syslog format. ISO/ISO 8601/ISO8601 are equivalent to "%FT%T%Ez". |
Name | Description |
---|---|
success | Journal messages as flow files |
Consumes messages from Apache Kafka and transform them into MiNiFi FlowFiles. The application should make sure that the processor is triggered at regular intervals, even if no messages are expected, to serve any queued callbacks waiting to be called. Rebalancing can also only happen on trigger.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Duplicate Header Handling | Keep Latest | Comma-separated Merge Keep First Keep Latest |
For headers to be added as attributes, this option specifies how to handle cases where multiple headers are present with the same key. For example in case of receiving these two headers: "Accept: text/html" and "Accept: application/xml" and we want to attach the value of "Accept" as a FlowFile attribute: - "Keep First" attaches: "Accept -> text/html" - "Keep Latest" attaches: "Accept -> application/xml" - "Comma-separated Merge" attaches: "Accept -> text/html, application/xml" |
Group ID | A Group ID is used to identify consumers that are within the same consumer group. Corresponds to Kafka's 'group.id' property. Supports Expression Language: true |
||
Headers To Add As Attributes | A comma separated list to match against all message headers. Any message header whose name matches an item from the list will be added to the FlowFile as an Attribute. If not specified, no Header values will be added as FlowFile attributes. The behaviour on when multiple headers of the same name are present is set using the DuplicateHeaderHandling attribute. | ||
Honor Transactions | true | Specifies whether or not MiNiFi should honor transactional guarantees when communicating with Kafka. If false, the Processor will use an "isolation level" of read_uncomitted. This means that messages will be received as soon as they are written to Kafka but will be pulled, even if the producer cancels the transactions. If this value is true, MiNiFi will not receive any messages for which the producer's transaction was canceled, but this can result in some latency since the consumer must wait for the producer to finish its entire transaction instead of pulling as the messages become available. | |
Kafka Brokers | localhost:9092 | A comma-separated list of known Kafka Brokers in the format :. Supports Expression Language: true |
|
Key Attribute Encoding | UTF-8 | Hex UTF-8 |
FlowFiles that are emitted have an attribute named 'kafka.key'. This property dictates how the value of the attribute should be encoded. |
Max Poll Records | 10000 | Specifies the maximum number of records Kafka should return when polling each time the processor is triggered. | |
Max Poll Time | 4 seconds | Specifies the maximum amount of time the consumer can use for polling data from the brokers. Polling is a blocking operation, so the upper limit of this value is specified in 4 seconds. | |
Message Demarcator | Since KafkaConsumer receives messages in batches, you have an option to output FlowFiles which contains all Kafka messages in a single batch for a given topic and partition and this property allows you to provide a string (interpreted as UTF-8) to use for demarcating apart multiple Kafka messages. This is an optional property and if not provided each Kafka message received will result in a single FlowFile which time it is triggered. Supports Expression Language: true |
||
Message Header Encoding | UTF-8 | Hex UTF-8 |
Any message header that is found on a Kafka message will be added to the outbound FlowFile as an attribute. This property indicates the Character Encoding to use for deserializing the headers. |
Offset Reset | latest | earliest latest none |
Allows you to manage the condition when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been deleted). Corresponds to Kafka's 'auto.offset.reset' property. |
SSL Context Service | SSL Context Service Name | ||
Security Protocol | plaintext | plaintext ssl |
Protocol used to communicate with brokers. Corresponds to Kafka's 'security.protocol' property. |
Session Timeout | 60 seconds | Client group session and failure detection timeout. The consumer sends periodic heartbeats to indicate its liveness to the broker. If no hearts are received by the broker for a group member within the session timeout, the broker will remove the consumer from the group and trigger a rebalance. The allowed range is configured with the broker configuration properties group.min.session.timeout.ms and group.max.session.timeout.ms. | |
Topic Name Format | Names | Names Patterns |
Specifies whether the Topic(s) provided are a comma separated list of names or a single regular expression. Using regular expressions does not automatically discover Kafka topics created after the processor started. |
Topic Names | The name of the Kafka Topic(s) to pull from. Multiple topic names are supported as a comma separated list. Supports Expression Language: true |
Name | Description |
---|---|
success | Incoming Kafka messages as flowfiles. Depending on the demarcation strategy, this can be one or multiple flowfiles per message. |
This Processor gets the contents of a FlowFile from a MQTT broker for a specified topic. The the payload of the MQTT message becomes content of a FlowFile
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Broker URI | The URI to use to connect to the MQTT broker | ||
Client ID | MQTT client ID to use | ||
Connection Timeout | 30 sec | Maximum time interval the client will wait for the network connection to the MQTT server | |
Keep Alive Interval | 60 sec | Defines the maximum time interval between messages sent or received | |
Max Flow Segment Size | Maximum flow content payload segment size for the MQTT record | ||
Password | Password to use when connecting to the broker | ||
Quality of Service | MQTT_QOS_0 | The Quality of Service(QoS) to send the message with. Accepts three values '0', '1' and '2' | |
Queue Max Message | Maximum number of messages allowed on the received MQTT queue | ||
Session state | true | Whether to start afresh or resume previous flows. See the allowable value descriptions for more details | |
Topic | The topic to publish the message to | ||
Username | Username to use when connecting to the broker |
Name | Description |
---|---|
success | FlowFiles that are sent successfully to the destination are transferred to this relationship |
Deletes FlowFiles on an Amazon S3 Bucket. If attempting to delete a file that does not exist, FlowFile is routed to success.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value |
Allowable Values |
Description |
---|---|---|---|
Object Key | The key of the S3 object. If none is given the filename attribute will be used by default. Supports Expression Language: true |
||
Bucket | The S3 bucket Supports Expression Language: true |
||
Access Key | AWS account access key Supports Expression Language: true |
||
Secret Key | AWS account secret key Supports Expression Language: true |
||
Credentials File | Path to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey | ||
AWS Credentials Provider service | The name of the AWS Credentials Provider controller service that is used to obtain AWS credentials. | ||
Region | us-west-2 | af-south-1 ap-east-1 ap-northeast-1 ap-northeast-2 ap-northeast-3 ap-south-1 ap-southeast-1 ap-southeast-2 ca-central-1 cn-north-1 cn-northwest-1 eu-central-1 eu-north-1 eu-south-1 eu-west-1 eu-west-2 eu-west-3 me-south-1 sa-east-1 us-east-1 us-east-2 us-gov-east-1 us-gov-west-1 us-west-1 us-west-2 |
AWS Region |
Communications Timeout | 30 sec | Sets the timeout of the communication between the AWS server and the client | |
Endpoint Override URL | Endpoint URL to use instead of the AWS default including scheme, host, port, and path. The AWS libraries select an endpoint URL based on the AWS region, but this property overrides the selected endpoint URL, allowing use with other S3-compatible endpoints. Supports Expression Language: true |
||
Proxy Host | Proxy host name or IP Supports Expression Language: true |
||
Proxy Port | The port number of the proxy host Supports Expression Language: true |
||
Proxy Username | Username to set when authenticating against proxy Supports Expression Language: true |
||
Proxy Password | Password to set when authenticating against proxy Supports Expression Language: true |
||
Version | The Version of the Object to delete Supports Expression Language: true |
Name | Description |
---|---|
failure | FlowFiles are routed to failure relationship |
success | FlowFiles are routed to success relationship |
Runs an operating system command specified by the user and writes the output of that command to a FlowFile. If the command is expected to be long-running,the Processor can output the partial data on a specified interval. When this option is used, the output is expected to be in textual format,as it typically does not make sense to split binary data on arbitrary time-based intervals.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Batch Duration | 0 sec | If the process is expected to be long-running and produce textual output, a batch duration can be specified. | |
Command | Specifies the command to be executed; if just the name of an executable is provided, it must be in the user's environment PATH. Supports Expression Language: true |
||
Command Arguments | The arguments to supply to the executable delimited by white space. White space can be escaped by enclosing it in double-quotes. Supports Expression Language: true |
||
Redirect Error Stream | false | If true will redirect any error stream output of the process to the output stream. | |
Working Directory | The directory to use as the current working directory when executing the command Supports Expression Language: true |
Name | Description |
---|---|
success | All created FlowFiles are routed to this relationship. |
Executes a script given the flow file and a process session. The script is responsible for handling the incoming flow file (transfer to SUCCESS or remove, e.g.) as well as any flow files created by the script. If the handling is incomplete or incorrect, the session will be rolled back. Scripts must define an onTrigger function which accepts NiFi Context and Property objects. For efficiency, scripts are executed once when the processor is run, then the onTrigger method is called for each incoming flowfile. This enables scripts to keep state if they wish, although there will be a script context per concurrent task of the processor. In order to, e.g., compute an arithmetic sum based on incoming flow file information, set the concurrent tasks to 1. The python script files are expected to contain describe(procesor)
and onTrigger(context, session)
.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Script File | Path to script file to execute. Only one of Script File or Script Body may be used | ||
Script Body | Script to execute |
Name | Description |
---|---|
failure | Script failures |
success | Script successes |
Execute provided SQL query. Query result rows will be outputted as new flow files with attribute keys equal to result column names and values equal to result values. There will be one output FlowFile per result row. This processor can be scheduled to run using the standard timer-based scheduling methods, or it can be triggered by an incoming FlowFile. If it is triggered by an incoming FlowFile, then attributes of that FlowFile will be available when evaluating the query.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
DB Controller Service | Database Controller Service. | ||
Max Rows Per Flow File | 0 | The maximum number of result rows that will be included in a single FlowFile. This will allow you to break up very large result sets into multiple FlowFiles. If the value specified is zero, then all rows are returned in a single FlowFile. | |
Output Format | JSON-Pretty | JSON JSON-Pretty |
Set the output format type. |
SQL select query | The SQL select query to execute. The query can be empty, a constant value, or built from attributes using Expression Language. If this property is specified, it will be used regardless of the content of incoming flowfiles. If this property is empty, the content of the incoming flow file is expected to contain a valid SQL select query, to be issued by the processor to the database. |
Name | Description |
---|---|
success | Successfully created FlowFile from SQL query result set. |
Executes a script given the flow file and a process session. The script is responsible for handling the incoming flow file (transfer to SUCCESS or remove, e.g.) as well as any flow files created by the script. If the handling is incomplete or incorrect, the session will be rolled back. Scripts must define an onTrigger function which accepts NiFi Context and Property objects. For efficiency, scripts are executed once when the processor is run, then the onTrigger method is called for each incoming flowfile. This enables scripts to keep state if they wish, although there will be a script context per concurrent task of the processor. In order to, e.g., compute an arithmetic sum based on incoming flow file information, set the concurrent tasks to 1.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Module Directory | Comma-separated list of paths to files and/or directories which contain modules required by the script | ||
Script Body | Body of script to execute. Only one of Script File or Script Body may be used | ||
Script Engine | python | The engine to execute scripts (python, lua) | |
Script File | Path to script file to execute. Only one of Script File or Script Body may be used |
Name | Description |
---|---|
failure | Script failures |
success | Script successes |
Extracts the content of a FlowFile and places it into an attribute.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Attribute | Attribute to set from content | ||
Enable Case-insensitive Matching | false | Indicates that two characters match even if they are in a different case. | |
Enable repeating capture group | false | f set to true, every string matching the capture groups will be extracted. Otherwise, if the Regular Expression matches more than once, only the first match will be extracted. | |
Include Capture Group 0 | true | Indicates that Capture Group 0 should be included as an attribute. Capture Group 0 represents the entirety of the regular expression match, is typically not used, and could have considerable length. | |
Maximum Capture Group Length | 1024 | Specifies the maximum number of characters a given capture group value can have. Any characters beyond the max will be truncated. | |
Regex Mode | false | Set this to extract parts of flowfile content using regular experssions in dynamic properties | |
Size Limit | 2097152 | Maximum number of bytes to read into the attribute. 0 for no limit. Default is 2MB. |
Name | Description |
---|---|
success | success operational on the flow record |
Fetches OPC-UA node
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Application URI | Application URI of the client in the format 'urn:unconfigured:application'. Mandatory, if using Secure Channel and must match the URI included in the certificate's Subject Alternative Names. | ||
Certificate path | Path to the DER-encoded cert file | ||
Key path | Path to the DER-encoded key file | ||
Lazy mode | Off | Off On |
Only creates flowfiles from nodes with new timestamp from the server. |
Max depth | 0 | Specifiec the max depth of browsing. 0 means unlimited. | |
Namespace index | 0 | The index of the namespace. Used only if node ID type is not path. | |
Node ID | Specifies the ID of the root node to traverse | ||
Node ID type | Int Path String |
Specifies the type of the provided node ID | |
OPC server endpoint | Specifies the address, port and relative path of an OPC endpoint | ||
Password | Password to log in with. Providing this requires cert and key to be provided as well, credentials are always sent encrypted. | ||
Trusted server certificate path | Path to the DER-encoded trusted server certificate | ||
Username | Username to log in with. |
Name | Description |
---|---|
failure | Retrieved OPC-UA nodes where value cannot be extracted (only if enabled) |
success | Successfully retrieved OPC-UA nodes |
Retrieves the contents of an S3 Object and writes it to the content of a FlowFile
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value |
Allowable Values |
Description |
---|---|---|---|
Object Key | The key of the S3 object. If none is given the filename attribute will be used by default. Supports Expression Language: true |
||
Bucket | The S3 bucket Supports Expression Language: true |
||
Access Key | AWS account access key Supports Expression Language: true |
||
Secret Key | AWS account secret key Supports Expression Language: true |
||
Credentials File | Path to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey | ||
AWS Credentials Provider service | The name of the AWS Credentials Provider controller service that is used to obtain AWS credentials. | ||
Region | us-west-2 | af-south-1 ap-east-1 ap-northeast-1 ap-northeast-2 ap-northeast-3 ap-south-1 ap-southeast-1 ap-southeast-2 ca-central-1 cn-north-1 cn-northwest-1 eu-central-1 eu-north-1 eu-south-1 eu-west-1 eu-west-2 eu-west-3 me-south-1 sa-east-1 us-east-1 us-east-2 us-gov-east-1 us-gov-west-1 us-west-1 us-west-2 |
AWS Region |
Communications Timeout | 30 sec | Sets the timeout of the communication between the AWS server and the client | |
Endpoint Override URL | Endpoint URL to use instead of the AWS default including scheme, host, port, and path. The AWS libraries select an endpoint URL based on the AWS region, but this property overrides the selected endpoint URL, allowing use with other S3-compatible endpoints. Supports Expression Language: true |
||
Proxy Host | Proxy host name or IP Supports Expression Language: true |
||
Proxy Port | The port number of the proxy host Supports Expression Language: true |
||
Proxy Username | Username to set when authenticating against proxy Supports Expression Language: true |
||
Proxy Password | Password to set when authenticating against proxy Supports Expression Language: true |
||
Version | The Version of the Object to download Supports Expression Language: true |
||
Requester Pays | false | If true, indicates that the requester consents to pay any charges associated with retrieving objects from the S3 bucket. This sets the 'x-amz-request-payer' header to 'requester'. |
Name | Description |
---|---|
failure | FlowFiles are routed to failure relationship |
success | FlowFiles are routed to success relationship |
Fetches the content of a file from a remote SFTP server and overwrites the contents of an incoming FlowFile with the content of the remote file.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Completion Strategy | None | Delete File Move File None |
Specifies what to do with the original file on the server once it has been pulled into NiFi. If the Completion Strategy fails, a warning will be logged but the data will still be transferred. |
Connection Timeout | 30 sec | Amount of time to wait before timing out while creating a connection | |
Create Directory | false | Specifies whether or not the remote directory should be created if it does not exist. | |
Data Timeout | 30 sec | When transferring a file between the local and remote system, this value specifies how long is allowed to elapse without any data being transferred between systems | |
Disable Directory Listing | false | Control how 'Move Destination Directory' is created when 'Completion Strategy' is 'Move File' and 'Create Directory' is enabled. If set to 'true', directory listing is not performed prior to create missing directories. By default, this processor executes a directory listing command to see target directory existence before creating missing directories. However, there are situations that you might need to disable the directory listing such as the following. Directory listing might fail with some permission setups (e.g. chmod 100) on a directory. Also, if any other SFTP client created the directory after this processor performed a listing and before a directory creation request by this processor is finished, then an error is returned because the directory already exists. | |
Host Key File | If supplied, the given file will be used as the Host Key; otherwise, no use host key file will be used | ||
Hostname | The fully qualified hostname or IP address of the remote system Supports Expression Language: true |
||
Http Proxy Password | Http Proxy Password Supports Expression Language: true |
||
Http Proxy Username | Http Proxy Username Supports Expression Language: true |
||
Move Destination Directory | The directory on the remote server to move the original file to once it has been ingested into NiFi. This property is ignored unless the Completion Strategy is set to 'Move File'. The specified directory must already exist on the remote system if 'Create Directory' is disabled, or the rename will fail. Supports Expression Language: true |
||
Password | Password for the user account Supports Expression Language: true |
||
Port | The port that the remote system is listening on for file transfers Supports Expression Language: true |
||
Private Key Passphrase | Password for the private key Supports Expression Language: true |
||
Private Key Path | The fully qualified path to the Private Key file Supports Expression Language: true |
||
Proxy Host | The fully qualified hostname or IP address of the proxy server Supports Expression Language: true |
||
Proxy Port | The port of the proxy server Supports Expression Language: true |
||
Proxy Type | DIRECT | DIRECT HTTP SOCKS |
Specifies the Proxy Configuration Controller Service to proxy network requests. If set, it supersedes proxy settings configured per component. Supported proxies: HTTP + AuthN, SOCKS + AuthN |
Remote File | The fully qualified filename on the remote system Supports Expression Language: true |
||
Send Keep Alive On Timeout | true | Indicates whether or not to send a single Keep Alive message when SSH socket times out | |
Strict Host Key Checking | false | Indicates whether or not strict enforcement of hosts keys should be applied | |
Use Compression | false | Indicates whether or not ZLIB compression should be used when transferring files | |
Username | Username Supports Expression Language: true |
Name | Description |
---|---|
comms.failure | Any FlowFile that could not be fetched from the remote server due to a communications failure will be transferred to this Relationship. |
not.found | Any FlowFile for which we receive a 'Not Found' message from the remote server will be transferred to this Relationship. |
permission.denied | Any FlowFile that could not be fetched from the remote server due to insufficient permissions will be transferred to this Relationship. |
success | All FlowFiles that are received are routed to success |
Allows manipulation of entries within an archive (e.g. TAR) by focusing on one entry within the archive at a time. When an archive entry is focused, that entry is treated as the content of the FlowFile and may be manipulated independently of the rest of the archive. To restore the FlowFile to its original state, use UnfocusArchiveEntry.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Path | The path within the archive to focus ("/" to focus the total archive) |
Name | Description |
---|---|
success | success operational on the flow record |
This processor creates FlowFiles with random data or custom content. GenerateFlowFile is useful for load testing, configuration, and simulation.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Batch Size | 1 | The number of FlowFiles to be transferred in each invocation | |
Data Format | Binary | Text Binary |
Specifies whether the data should be Text or Binary |
File Size | 1 kB | The size of the file that will be used | |
Unique FlowFiles | true | If true, each FlowFile that is generated will be unique. If false, a random value will be generated and all FlowFiles | |
Custom Text | If Data Format is text and if Unique FlowFiles is false, then this custom text will be used as content of the generated FlowFiles and the File Size will be ignored. Finally, if Expression Language is used, evaluation will be performed only once per batch of generated FlowFiles Supports Expression Language: true |
Name | Description |
---|---|
success | success operational on the flow record |
Creates FlowFiles from files in a directory. MiNiFi will ignore files for which it doesn't have read permissions.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Batch Size | 10 | The maximum number of files to pull in each iteration | |
File Filter | [^\.].* | Only files whose names match the given regular expression will be picked up | |
Ignore Hidden Files | true | Indicates whether or not hidden files should be ignored | |
Input Directory | The input directory from which to pull files Supports Expression Language: true |
||
Keep Source File | false | If true, the file is not deleted after it has been copied to the Content Repository | |
Maximum File Age | 0 sec | The maximum age that a file must be in order to be pulled; any file older than this amount of time (according to last modification date) will be ignored | |
Maximum File Size | 0 B | The maximum size that a file can be in order to be pulled | |
Minimum File Age | 0 sec | The minimum age that a file must be in order to be pulled; any file younger than this amount of time (according to last modification date) will be ignored | |
Minimum File Size | 0 B | The minimum size that a file can be in order to be pulled | |
Polling Interval | 0 sec | Indicates how long to wait before performing a directory listing | |
Recurse Subdirectories | true | Indicates whether or not to pull files from subdirectories |
Name | Description |
---|---|
success | All files are routed to success |
Obtains GPS coordinates from the GPSDHost and port.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
GPSD Host | localhost | The host running the GPSD daemon | |
GPSD Port | 2947 | The GPSD daemon port | |
GPSD Wait Time | 50000000 | Timeout value for waiting for data from the GPSD instance |
Name | Description |
---|---|
success | All files are routed to success |
Establishes a TCP Server that defines and retrieves one or more byte messages from clients
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
SSL Context Service | SSL Context Service Name | ||
Stay Connected | true | Determines if we keep the same socket despite having no data | |
concurrent-handler-count | 1 | Number of concurrent handlers for this session | |
connection-attempt-timeout | 3 | Maximum number of connection attempts before attempting backup hosts, if configured | |
end-of-message-byte | 13 | Byte value which denotes end of message. Must be specified as integer within the valid byte range (-128 thru 127). For example, '13' = Carriage return and '10' = New line. Default '13'. | |
endpoint-list | A comma delimited list of the endpoints to connect to. The format should be <server_address>:. | ||
receive-buffer-size | 16 MB | The size of the buffer to receive data in. Default 16384 (16MB). |
Name | Description |
---|---|
partial | Indicates an incomplete message as a result of encountering the end of message byte trigger |
success | All files are routed to success |
Gets images from USB Video Class (UVC)-compatible devices. Outputs one flow file per frame at the rate specified by the FPS property in the format specified by the Format property.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
FPS | 1 | Frames per second to capture from USB camera | |
Format | PNG | Frame format (currently only PNG and RAW are supported; RAW is a binary pixel buffer of RGB values) | |
Height | Target height of image to capture from USB camera | ||
USB Product ID | 0x0 | USB Product ID of camera device, in hexadecimal format | |
USB Serial No. | USB Serial No. of camera device | ||
USB Vendor ID | 0x0 | USB Vendor ID of camera device, in hexadecimal format | |
Width | Target width of image to capture from USB camera |
Name | Description |
---|---|
failure | Failures sent here |
success | Sucessfully captured images sent here |
HashContent calculates the checksum of the content of the flowfile and adds it as an attribute. Configuration options exist to select hashing algorithm and set the name of the attribute.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Hash Algorithm | SHA256 | Name of the algorithm used to generate checksum | |
Hash Attribute | Checksum | Attribute to store checksum to | |
Fail on empty | false | Route to failure relationship in case of empty content |
Name | Description |
---|---|
failure | failure operational on the flow record |
success | success operational on the flow record |
An HTTP client processor which can interact with a configurable HTTP Endpoint. The destination URL and HTTP Method are configurable. FlowFile attributes are converted to HTTP headers and the FlowFile contents are included as the body of the request (if the HTTP Method is PUT, POST or PATCH).
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Always Output Response | false | Will force a response FlowFile to be generated and routed to the 'Response' relationship regardless of what the server status code received is | |
Attributes to Send | Regular expression that defines which attributes to send as HTTP headers in the request. If not defined, no attributes are sent as headers. | ||
Connection Timeout | 5 secs | Max wait time for connection to remote service. | |
Content-type | application/octet-stream | The Content-Type to specify for when content is being transmitted through a PUT, POST or PATCH. In the case of an empty value after evaluating an expression language expression, Content-Type defaults to | |
Disable Peer Verification | false | Disables peer verification for the SSL session | |
Follow Redirects | true | Follow HTTP redirects issued by remote server. | |
HTTP Method | GET | HTTP request method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS). Arbitrary methods are also supported. Methods other than POST, PUT and PATCH will be sent without a message body. | |
Include Date Header | true | Include an RFC-2616 Date header in the request. | |
invokehttp-proxy-password | Password to set when authenticating against proxy | ||
invokehttp-proxy-username | Username to set when authenticating against proxy | ||
Penalize on "No Retry" | false | Enabling this property will penalize FlowFiles that are routed to the "No Retry" relationship. | |
Proxy Host | The fully qualified hostname or IP address of the proxy server | ||
Proxy Port | The port of the proxy server | ||
Put Response Body in Attribute | If set, the response body received back will be put into an attribute of the original FlowFile instead of a separate FlowFile. The attribute key to put to is determined by evaluating value of this property. | ||
Read Timeout | 15 secs | Max wait time for response from remote service. | |
Remote URL | Remote URL which will be connected to, including scheme, host, port, path. Supports Expression Language: true |
||
send-message-body | true | DEPRECATED. Only kept for backwards compatibility, no functionality is included. | |
Send Message Body | true | If true, sends the HTTP message body on POST/PUT/PATCH requests (default). If false, suppresses the message body and content-type header for these requests. | |
SSL Context Service | The SSL Context Service used to provide client certificate information for TLS/SSL (https) connections. | ||
Use Chunked Encoding | false | When POST'ing, PUT'ing or PATCH'ing content set this property to true in order to not pass the 'Content-length' header and instead send 'Transfer-Encoding' with a value of 'chunked'. This will enable the data transfer mechanism which was introduced in HTTP 1.1 to pass data of unknown lengths in chunks. |
Name | Description |
---|---|
success | The original FlowFile will be routed upon success (2xx status codes). It will have new attributes detailing the success of the request. |
response | A Response FlowFile will be routed upon success (2xx status codes). If the 'Always Output Response' property is true then the response will be sent to this relationship regardless of the status code received. |
retry | The original FlowFile will be routed on any status code that can be retried (5xx status codes). It will have new attributes detailing the request. |
no retry | The original FlowFile will be routed on any status code that should NOT be retried (1xx, 3xx, 4xx status codes). It will have new attributes detailing the request. |
failure | The original FlowFile will be routed on any type of connection failure, timeout or general exception. It will have new attributes detailing the request. |
Performs a listing of the files residing on an SFTP server. For each file that is found on the remote server, a new FlowFile will be created with the filename attribute set to the name of the file on the remote server. This can then be used in conjunction with FetchSFTP in order to fetch those files.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Connection Timeout | 30 sec | Amount of time to wait before timing out while creating a connection | |
Data Timeout | 30 sec | When transferring a file between the local and remote system, this value specifies how long is allowed to elapse without any data being transferred between systems | |
Entity Tracking Initial Listing Target | All Available | All Available Tracking Time Window |
Specify how initial listing should be handled. Used by 'Tracking Entities' strategy. |
Entity Tracking Time Window | Specify how long this processor should track already-listed entities. 'Tracking Entities' strategy can pick any entity whose timestamp is inside the specified time window. For example, if set to '30 minutes', any entity having timestamp in recent 30 minutes will be the listing target when this processor runs. A listed entity is considered 'new/updated' and a FlowFile is emitted if one of following condition meets: 1. does not exist in the already-listed entities, 2. has newer timestamp than the cached entity, 3. has different size than the cached entity. If a cached entity's timestamp becomes older than specified time window, that entity will be removed from the cached already-listed entities. Used by 'Tracking Entities' strategy. | ||
File Filter Regex | Provides a Java Regular Expression for filtering Filenames; if a filter is supplied, only files whose names match that Regular Expression will be fetched | ||
Follow symlink | false | If true, will pull even symbolic files and also nested symbolic subdirectories; otherwise, will not read symbolic files and will not traverse symbolic link subdirectories | |
Host Key File | If supplied, the given file will be used as the Host Key; otherwise, no use host key file will be used | ||
Hostname | The fully qualified hostname or IP address of the remote system Supports Expression Language: true |
||
Http Proxy Password | Http Proxy Password Supports Expression Language: true |
||
Http Proxy Username | Http Proxy Username Supports Expression Language: true |
||
Ignore Dotted Files | true | If true, files whose names begin with a dot (".") will be ignored | |
Listing Strategy | Tracking Timestamps | Tracking Entities Tracking Timestamps |
Specify how to determine new/updated entities. See each strategy descriptions for detail. |
Maximum File Age | The maximum age that a file must be in order to be pulled; any file older than this amount of time (according to last modification date) will be ignored | ||
Maximum File Size | The maximum size that a file must be in order to be pulled | ||
Minimum File Age | 0 sec | The minimum age that a file must be in order to be pulled; any file younger than this amount of time (according to last modification date) will be ignored | |
Minimum File Size | 0 B | The minimum size that a file must be in order to be pulled | |
Password | Password for the user account Supports Expression Language: true |
||
Path Filter Regex | When Search Recursively is true, then only subdirectories whose path matches the given Regular Expression will be scanned | ||
Port | The port that the remote system is listening on for file transfers Supports Expression Language: true |
||
Private Key Passphrase | Password for the private key Supports Expression Language: true |
||
Private Key Path | The fully qualified path to the Private Key file Supports Expression Language: true |
||
Proxy Host | The fully qualified hostname or IP address of the proxy server Supports Expression Language: true |
||
Proxy Port | The port of the proxy server Supports Expression Language: true |
||
Proxy Type | DIRECT | DIRECT HTTP SOCKS |
Specifies the Proxy Configuration Controller Service to proxy network requests. If set, it supersedes proxy settings configured per component. Supported proxies: HTTP + AuthN, SOCKS + AuthN |
Remote Path | The fully qualified filename on the remote system Supports Expression Language: true |
||
Search Recursively | false | If true, will pull files from arbitrarily nested subdirectories; otherwise, will not traverse subdirectories | |
Send Keep Alive On Timeout | true | Indicates whether or not to send a single Keep Alive message when SSH socket times out | |
State File | ListSFTP | Specifies the file that should be used for storing state about what data has been ingested so that upon restart MiNiFi can resume from where it left off | |
Strict Host Key Checking | false | Indicates whether or not strict enforcement of hosts keys should be applied | |
Target System Timestamp Precision | Auto Detect | Auto Detect Milliseconds Minutes Seconds |
Specify timestamp precision at the target system. Since this processor uses timestamp of entities to decide which should be listed, it is crucial to use the right timestamp precision. |
Username | Username Supports Expression Language: true |
Name | Description |
---|---|
success | All FlowFiles that are received are routed to success |
Starts an HTTP Server and listens on a given base path to transform incoming requests into FlowFiles. The default URI of the Service will be http://{hostname}:{port}/contentListener. Only HEAD, POST, and GET requests are supported. PUT, and DELETE will result in an error and the HTTP response status code 405. The response body text for all requests, by default, is empty (length of 0). A static response body can be set for a given URI by sending input files to ListenHTTP with the http.type attribute set to response_body. The response body FlowFile filename attribute is appended to the Base Path property (separated by a /) when mapped to incoming requests. The mime.type attribute of the response body FlowFile is used for the Content-type header in responses. Response body content can be cleared by sending an empty (size 0) FlowFile for a given URI mapping.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Authorized DN Pattern | .* | A Regular Expression to apply against the Distinguished Name of incoming connections. If the Pattern does not match the DN, the connection will be refused. | |
Base Path | contentListener | Base path for incoming connections | |
Batch Size | 0 | Maximum number of buffered requests to be processed in a single batch. If set to zero all buffered requests are processed. | |
Buffer Size | 0 | Maximum number of HTTP Requests allowed to be buffered before processing them when the processor is triggered. If the buffer full, the request is refused. If set to zero the buffer is unlimited. | |
HTTP Headers to receive as Attributes (Regex) | Specifies the Regular Expression that determines the names of HTTP Headers that should be passed along as FlowFile attributes | ||
Listening Port | 80 | The Port to listen on for incoming connections. 0 means port is going to be selected randomly. | |
SSL Certificate | File containing PEM-formatted file including TLS/SSL certificate and key | ||
SSL Certificate Authority | File containing trusted PEM-formatted certificates | ||
SSL Minimum Version | TLS1.2 | TLS1.2 |
Minimum TLS/SSL version allowed (TLS1.2) |
SSL Verify Peer | no | no yes |
Whether or not to verify the client's certificate (yes/no) |
Name | Description |
---|---|
success | All files are routed to success |
Listens for Syslog messages being sent to a given port over TCP or UDP. Incoming messages are checked against regular expressions for RFC5424 and RFC3164 formatted messages. The format of each message is: ()(VERSION )(TIMESTAMP) (HOSTNAME) (BODY) where version is optional. The timestamp can be an RFC5424 timestamp with a format of "yyyy-MM-dd'T'HH:mm:ss.SZ" or "yyyy-MM-dd'T'HH:mm:ss.S+hh:mm", or it can be an RFC3164 timestamp with a format of "MMM d HH:mm:ss". If an incoming messages matches one of these patterns, the message will be parsed and the individual pieces will be placed in FlowFile attributes, with the original message in the content of the FlowFile. If an incoming message does not match one of these patterns it will not be parsed and the syslog.valid attribute will be set to false with the original message in the content of the FlowFile. Valid messages will be transferred on the success relationship, and invalid messages will be transferred on the invalid relationship.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Max Batch Size | 1 | The maximum number of Syslog events to add to a single FlowFile. | |
Max Number of TCP Connections | 2 | The maximum number of concurrent connections to accept Syslog messages in TCP mode. | |
Max Size of Socket Buffer | 1 MB | The maximum size of the socket buffer that should be used. | |
Message Delimiter | \n | Specifies the delimiter to place between Syslog messages when multiple messages are bundled together (see core::Property). | |
Parse Messages | false | Indicates if the processor should parse the Syslog messages. If set to false, each outgoing FlowFile will only. | |
Port | 514 | The port for Syslog communication | |
Protocol | UDP | UDP TCP |
The protocol for Syslog communication. |
Receive Buffer Size | 65507 B | The size of each buffer used to receive Syslog messages. |
Name | Description |
---|---|
invalid | SysLog message format invalid |
success | All files are routed to success |
Retrieves a listing of objects from an S3 bucket. For each object that is listed, creates a FlowFile that represents the object so that it can be fetched in conjunction with FetchS3Object.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Bucket | The S3 bucket Supports Expression Language: true |
||
Access Key | AWS account access key Supports Expression Language: true |
||
Secret Key | AWS account secret key Supports Expression Language: true |
||
Credentials File | Path to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey | ||
AWS Credentials Provider service | The name of the AWS Credentials Provider controller service that is used to obtain AWS credentials. | ||
Region | us-west-2 | af-south-1 ap-east-1 ap-northeast-1 ap-northeast-2 ap-northeast-3 ap-south-1 ap-southeast-1 ap-southeast-2 ca-central-1 cn-north-1 cn-northwest-1 eu-central-1 eu-north-1 eu-south-1 eu-west-1 eu-west-2 eu-west-3 me-south-1 sa-east-1 us-east-1 us-east-2 us-gov-east-1 us-gov-west-1 us-west-1 us-west-2 |
AWS Region |
Communications Timeout | 30 sec | Sets the timeout of the communication between the AWS server and the client | |
Endpoint Override URL | Endpoint URL to use instead of the AWS default including scheme, host, port, and path. The AWS libraries select an endpoint URL based on the AWS region, but this property overrides the selected endpoint URL, allowing use with other S3-compatible endpoints. Supports Expression Language: true |
||
Proxy Host | Proxy host name or IP Supports Expression Language: true |
||
Proxy Port | The port number of the proxy host Supports Expression Language: true |
||
Proxy Username | Username to set when authenticating against proxy Supports Expression Language: true |
||
Proxy Password | Password to set when authenticating against proxy Supports Expression Language: true |
||
Delimiter | The string used to delimit directories within the bucket. Please consult the AWS documentation for the correct use of this field. | ||
Prefix | The prefix used to filter the object list. In most cases, it should end with a forward slash ('/'). | ||
Use Versions | false | Specifies whether to use S3 versions, if applicable. If false, only the latest version of each object will be returned. | |
Minimum Object Age | 0 sec | The minimum age that an S3 object must be in order to be considered; any object younger than this amount of time (according to last modification date) will be ignored. | |
Write Object Tags | false | If set to 'true', the tags associated with the S3 object will be written as FlowFile attributes. | |
Write User Metadata | false | If set to 'true', the user defined metadata associated with the S3 object will be added to FlowFile attributes/records. | |
Requester Pays | false | If true, indicates that the requester consents to pay any charges associated with listing the S3 bucket. This sets the 'x-amz-request-payer' header to 'requester'. Note that this setting is only used if Write User Metadata is true. |
Name | Description |
---|---|
success | FlowFiles are routed to success relationship |
Logs attributes of flow files in the MiNiFi application log.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Attributes to Ignore | A comma-separated list of Attributes to ignore. If not specified, no attributes will be ignored. | ||
Attributes to Log | A comma-separated list of Attributes to Log. If not specified, all attributes will be logged. | ||
FlowFiles To Log | 1 | Number of flow files to log. If set to zero all flow files will be logged. Please note that this may block other threads from running if not used judiciously. | |
Hexencode Payload | false | If true, the FlowFile's payload will be logged in a hexencoded format | |
Log Level | debug error info trace warn |
The Log Level to use when logging the Attributes | |
Log Payload | false | If true, the FlowFile's payload will be logged, in addition to its attributes.otherwise, just the Attributes will be logged | |
Log Prefix | Log prefix appended to the log lines. It helps to distinguish the output of multiple LogAttribute processors. | ||
Maximum Payload Line Length | 80 | The logged payload will be broken into lines this long. 0 means no newlines will be added. |
Name | Description |
---|---|
success | success operational on the flow record |
Performs an operation which manipulates an archive without needing to split the archive into multiple FlowFiles.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
After | For operations which result in new entries, places the new entry after the entry specified by this property. | ||
Before | For operations which result in new entries, places the new entry before the entry specified by this property. | ||
Destination | Destination for operations (touch, move or copy) which result in new entries. | ||
Operation | Operation to perform on the archive (touch, remove, copy, move). | ||
Target | An existing entry within the archive to perform the operation on. |
Name | Description |
---|---|
failure | FlowFiles will be transferred to the failure relationship if the operation fails. |
success | FlowFiles will be transferred to the success relationship if the operation succeeds. |
Merges a Group of FlowFiles together based on a user-defined strategy and packages them into a single FlowFile. MergeContent should be configured with only one incoming connection as it won't create grouped Flow Files.This processor updates the mime.type attribute as appropriate.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Attribute Strategy | Keep Only Common Attributes | Keep Only Common Attributes Keep All Unique Attributes |
Determines which FlowFile attributes should be added to the bundle. If 'Keep All Unique Attributes' is selected, any attribute on any FlowFile that gets bundled will be kept unless its value conflicts with the value from another FlowFile (in which case neither, or none, of the conflicting attributes will be kept). If 'Keep Only Common Attributes' is selected, only the attributes that exist on all FlowFiles in the bundle, with the same value, will be preserved. |
Correlation Attribute Name | Correlation Attribute Name | ||
Delimiter Strategy | Filename | Determines if Header, Footer, and Demarcator should point to files | |
Demarcator File | Filename specifying the demarcator to use | ||
Footer File | Filename specifying the footer to use | ||
Header File | Filename specifying the header to use | ||
Keep Path | false | If using the Zip or Tar Merge Format, specifies whether or not the FlowFiles' paths should be included in their entry | |
Max Bin Age | The maximum age of a Bin that will trigger a Bin to be complete. Expected format is | ||
Maximum Group Size | The maximum size for the bundle. If not specified, there is no maximum. | ||
Maximum Number of Entries | The maximum number of files to include in a bundle. If not specified, there is no maximum. | ||
Maximum number of Bins | 100 | Specifies the maximum number of bins that can be held in memory at any one time | |
Merge Format | Binary Concatenation | Merge Format | |
Merge Strategy | Defragment | Defragment or Bin-Packing Algorithm | |
Minimum Group Size | 0 | The minimum size of for the bundle | |
Minimum Number of Entries | 1 | The minimum number of files to include in a bundle |
Name | Description |
---|---|
failure | If the bundle cannot be created, all FlowFiles that would have been used to created the bundle will be transferred to failure |
merged | The FlowFile containing the merged content |
original | The FlowFiles that were used to create the bundle |
Detect motion from captured images.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Dilate iteration | 10 | For image processing, if an object is detected as 2 separate objects, increase this value | |
Image Encoding | .jpg | .jpg .png |
The encoding that should be applied to the output |
Minimum Area | 100 | We only consider the movement regions with area greater than this. | |
Path to background frame | If not provided then the processor will take the first input frame as background | ||
Threshold for segmentation | 42 | Pixel greater than this will be white, otherwise black. |
Name | Description |
---|---|
failure | Failure to detect motion |
success | Successful to detect motion |
This Windows only processor can create FlowFiles populated with various performance data with the help of Windows Performance Counters. Windows Performance Counters provide a high-level abstraction layer with a consistent interface for collecting various kinds of system data such as CPU, memory, and disk usage statistics.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Predefined Groups | CPU IO Disk Network Memory System Process |
Comma separated list from the allowable values, to monitor multiple common Windows Performance counters related to these groups. (e.g. "CPU,Network") | |
Custom PDH Counters | Comma separated list of Windows Performance Counters to monitor. (e.g. "\System\Threads,\Process(*)\ID Process") | ||
Output Format | JSON | JSON OpenTelemetry |
The output format of the new flowfile |
Round to decimal places | 3 | integers | The number of decimal places to round the values to (blank for no rounding) |
- CPU
- \Processor(*)\% Processor Time
- \Processor(*)\% User Time
- \Processor(*)\% Privileged Time
- IO
- \Process(_Total)\IO Read Bytes/sec
- \Process(_Total)\IO Write Bytes/sec
- Disk
- \LogicalDisk(*)\% Free Space
- \LogicalDisk(*)\Free Megabytes
- \PhysicalDisk(*)\% Disk Read Time
- \PhysicalDisk(*)\% Disk Time
- \PhysicalDisk(*)\% Disk Write Time
- \PhysicalDisk(*)\% Idle Time
- \PhysicalDisk(*)\Avg. Disk Bytes/Transfer
- \PhysicalDisk(*)\Avg. Disk Bytes/Read
- \PhysicalDisk(*)\Avg. Disk Bytes/Write
- \PhysicalDisk(*)\Avg. Disk Write Queue Length
- \PhysicalDisk(*)\Avg. Disk Read Queue Length
- \PhysicalDisk(*)\Avg. Disk Queue Length
- \PhysicalDisk(*)\Avg. Disk sec/Transfer
- \PhysicalDisk(*)\Avg. Disk sec/Read
- \PhysicalDisk(*)\Avg. Disk sec/Write
- \PhysicalDisk(*)\Current Disk Queue Length
- \PhysicalDisk(*)\Disk Transfers/sec
- \PhysicalDisk(*)\Disk Reads/sec
- \PhysicalDisk(*)\Disk Writes/sec
- \PhysicalDisk(*)\Disk Bytes/sec
- \PhysicalDisk(*)\Disk Read Bytes/sec
- \PhysicalDisk(*)\Disk Write Bytes/sec
- \PhysicalDisk(*)\Split IO/Sec
- Network
- \Network Interface(*)\Bytes Received/sec
- \Network Interface(*)\Bytes Sent/sec
- \Network Interface(*)\Bytes Total/sec
- \Network Interface(*)\Current Bandwidth
- \Network Interface(*)\Packets/sec
- \Network Interface(*)\Packets Received/sec
- \Network Interface(*)\Packets Sent/sec
- \Network Interface(*)\Packets Received Discarded
- \Network Interface(*)\Packets Received Errors
- \Network Interface(*)\Packets Received Unknown
- \Network Interface(*)\Packets Received Non-Unicast/sec
- \Network Interface(*)\Packets Received Unicast/sec
- \Network Interface(*)\Packets Sent Unicast/sec
- \Network Interface(*)\Packets Sent Non-Unicast/sec
- Memory
- \Memory\% Committed Bytes In Use
- \Memory\Available MBytes
- \Memory\Page Faults/sec
- \Memory\Pages/sec
- \Paging File(_Total)\% Usage
- Different source: Total Physical Memory
- Different source: Available Physical Memory
- Different source: Total paging file size
- System
- \System\% Registry Quota In Use
- \System\Context Switches/sec
- \System\File Control Bytes/sec
- \System\File Control Operations/sec
- \System\File Read Bytes/sec
- \System\File Read Operations/sec
- \System\File Write Bytes/sec
- \System\File Write Operations/sec
- \System\File Data Operations/sec
- \System\Processes
- \System\Processor Queue Length
- \System\System Calls/sec
- \System\System Up Time
- \System\Threads
- Process
- \Process(*)\% Processor Time
- \Process(*)\Elapsed Time
- \Process(*)\ID Process
- \Process(*)\Private Bytes
Name | Description |
---|---|
success | All files are routed to success |
This Processor puts the contents of a FlowFile to a Topic in Apache Kafka. The content of a FlowFile becomes the contents of a Kafka message. This message is optionally assigned a key by using the Property.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Attributes to Send as Headers | Any attribute whose name matches the regex will be added to the Kafka messages as a Header | ||
Batch Size | 10 | Maximum number of messages batched in one MessageSet | |
Client Name | Client Name to use when communicating with Kafka Supports Expression Language: true |
||
Compress Codec | none | compression codec to use for compressing message sets | |
Debug contexts | A comma-separated list of debug contexts to enable.Including: generic, broker, topic, metadata, feature, queue, msg, protocol, cgrp, security, fetch, interceptor, plugin, consumer, admin, eos, all | ||
Delivery Guarantee | 1 | Specifies the requirement for guaranteeing that a message is sent to Kafka. Valid values are 0 (do not wait for acks), -1 or all (block until message is committed by all in sync replicas) or any concrete number of nodes. Supports Expression Language: true |
|
Kerberos Keytab Path | The path to the location on the local filesystem where the kerberos keytab is located. Read permission on the file is required. | ||
Kerberos Principal | Keberos Principal | ||
Kerberos Service Name | Kerberos Service Name | ||
Known Brokers | A comma-separated list of known Kafka Brokers in the format : Supports Expression Language: true |
||
Max Flow Segment Size | 0 B | Maximum flow content payload segment size for the kafka record. 0 B means unlimited. | |
Max Request Size | Maximum Kafka protocol request message size | ||
Kafka Key | The key to use for the message. If not specified, the UUID of the flow file is used as the message key. Supports Expression Language: true |
||
Message Key Field | DEPRECATED, does not work -- use Kafka Key instead | ||
Message Timeout | 30 sec | The total time sending a message could take | |
Queue Buffering Max Time | Delay to wait for messages in the producer queue to accumulate before constructing message batches | ||
Queue Max Buffer Size | Maximum total message size sum allowed on the producer queue | ||
Queue Max Message | Maximum number of messages allowed on the producer queue | ||
Request Timeout | 10 sec | The ack timeout of the producer request | |
SSL Context Service | SSL Context Service Name | ||
Security CA | DEPRECATED in favor of SSL Context Service. File or directory path to CA certificate(s) for verifying the broker's key | ||
Security Cert | DEPRECATED in favor of SSL Context Service. Path to client's public key (PEM) used for authentication | ||
Security Pass Phrase | DEPRECATED in favor of SSL Context Service. Private key passphrase | ||
Security Private Key | DEPRECATED in favor of SSL Context Service. Path to client's private key (PEM) used for authentication | ||
Security Protocol | Protocol used to communicate with brokers | ||
Target Batch Payload Size | 512 KB | The target total payload size for a batch. 0 B means unlimited (Batch Size is still applied). | |
Topic Name | The Kafka Topic of interest Supports Expression Language: true |
Name | Description |
---|---|
failure | Any FlowFile that cannot be sent to Kafka will be routed to this Relationship |
success | Any FlowFile that is successfully sent to Kafka will be routed to this Relationship |
PublishMQTT serializes FlowFile content as an MQTT payload, sending the message to the configured topic and broker.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Broker URI | The URI to use to connect to the MQTT broker | ||
Client ID | MQTT client ID to use | ||
Connection Timeout | 30 sec | Maximum time interval the client will wait for the network connection to the MQTT server | |
Keep Alive Interval | 60 sec | Defines the maximum time interval between messages sent or received | |
Max Flow Segment Size | Maximum flow content payload segment size for the MQTT record | ||
Password | Password to use when connecting to the broker | ||
Quality of Service | MQTT_QOS_0 | The Quality of Service(QoS) to send the message with. Accepts three values '0', '1' and '2' | |
Retain | false | Retain MQTT published record in broker | |
Session state | true | Whether to start afresh or resume previous flows. See the allowable value descriptions for more details | |
Topic | The topic to publish the message to | ||
Username | Username to use when connecting to the broker |
Name | Description |
---|---|
failure | FlowFiles that failed to send to the destination are transferred to this relationship |
success | FlowFiles that are sent successfully to the destination are transferred to this relationship |
Puts content into an Azure Storage Blob
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Container Name | Name of the Azure storage container. In case of PutAzureBlobStorage processor, container can be created if it does not exist. Supports Expression Language: true |
||
Storage Account Name | The storage account name. Supports Expression Language: true |
||
Storage Account Key | The storage account key. This is an admin-like password providing access to every container in this account. It is recommended one uses Shared Access Signature (SAS) token instead for fine-grained control with policies. Supports Expression Language: true |
||
SAS Token | Shared Access Signature token. Specify either SAS Token (recommended) or Storage Account Key together with Storage Account Name if Managed Identity is not used. Supports Expression Language: true |
||
Common Storage Account Endpoint Suffix | Storage accounts in public Azure always use a common FQDN suffix. Override this endpoint suffix with a different suffix in certain circumstances (like Azure Stack or non-public Azure regions). Supports Expression Language: true |
||
Connection String | Connection string used to connect to Azure Storage service. This overrides all other set credential properties if Managed Identity is not used. Supports Expression Language: true |
||
Azure Storage Credentials Service | Name of the Azure Storage Credentials Service used to retrieve the connection string from. | ||
Blob | The filename of the blob. If left empty the filename attribute will be used by default. Supports Expression Language: true |
||
Create Container | false | Specifies whether to check if the container exists and to automatically create it if it does not. Permission to list containers is required. If false, this check is not made, but the Put operation will fail if the container does not exist. | |
Use Managed Identity Credentials | false | If true Managed Identity credentials will be used together with the Storage Account Name for authentication. |
Name | Description |
---|---|
failure | Unsuccessful operations will be transferred to the failure relationship |
success | All successfully processed FlowFiles are routed to this relationship |
Puts content into an Azure Data Lake Storage Gen 2
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Azure Storage Credentials Service | Name of the Azure Storage Credentials Service used to retrieve the connection string from. | ||
Filesystem Name | Name of the Azure Storage File System. It is assumed to be already existing. Supports Expression Language: true |
||
Directory Name | Name of the Azure Storage Directory. The Directory Name cannot contain a leading '/'. If left empty it designates the root directory. The directory will be created if not already existing. Supports Expression Language: true |
||
File Name | The filename to be uploaded. If left empty the filename attribute will be used by default. Supports Expression Language: true |
||
Conflict Resolution Strategy | fail | fail replace ignore |
Indicates what should happen when a file with the same name already exists in the output directory. |
Name | Description |
---|---|
failure | Files that could not be written to Azure storage for some reason are transferred to this relationship |
success | Files that have been successfully written to Azure storage are transferred to this relationship |
Writes the contents of a FlowFile to the local file system
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Conflict Resolution Strategy | fail | fail ignore replace |
Indicates what should happen when a file with the same name already exists in the output directory |
Create Missing Directories | true | If true, then missing destination directories will be created. If false, flowfiles are penalized and sent to failure. | |
Directory | . | The output directory to which to put files Supports Expression Language: true |
|
Maximum File Count | -1 | Specifies the maximum number of files that can exist in the output directory | |
Permissions | Sets the permissions on the output file to the value of this attribute. Must be an octal number (e.g. 644 or 0755). Not supported on Windows systems. | ||
Directory Permissions | Sets the permissions on the directories being created if 'Create Missing Directories' property is set. Must be an octal number (e.g. 644 or 0755). Not supported on Windows systems. |
Name | Description |
---|---|
failure | Failed files (conflict, write failure, etc.) are transferred to failure |
success | All files are routed to success |
Creates/updates OPC nodes
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Application URI | Application URI of the client in the format 'urn:unconfigured:application'. Mandatory, if using Secure Channel and must match the URI included in the certificate's Subject Alternative Names. | ||
Certificate path | Path to the DER-encoded cert file | ||
Key path | Path to the DER-encoded key file | ||
OPC server endpoint | Specifies the address, port and relative path of an OPC endpoint | ||
Parent node ID | Specifies the ID of the root node to traverse | ||
Parent node ID type | Int Path String |
Specifies the type of the provided node ID | |
Parent node namespace index | 0 | The index of the namespace. Used only if node ID type is not path. | |
Password | Password to log in with. Providing this requires cert and key to be provided as well, credentials are always sent encrypted. | ||
Target node ID | ID of target node. Supports Expression Language: true |
||
Target node ID type | ID type of target node. Allowed values are: Int, String. Supports Expression Language: true |
||
Target node browse name | Browse name of target node. Only used when new node is created. Supports Expression Language: true |
||
Target node namespace index | The index of the namespace. Used only if node ID type is not path. Supports Expression Language: true |
||
Trusted server certificate path | Path to the DER-encoded trusted server certificate | ||
Username | Username to log in with. | ||
Value type | Boolean Double Float Int32 Int64 String UInt32 UInt64 |
Set the OPC value type of the created nodes |
Name | Description |
---|---|
failure | Failed to put OPC-UA node |
success | Successfully put OPC-UA node |
Puts FlowFiles to an Amazon S3 Bucket. The upload uses either the PutS3Object method. The PutS3Object method send the file in a single synchronous call, but it has a 5GB size limit. Larger files sent using the multipart upload methods are currently not supported. The AWS libraries select an endpoint URL based on the AWS region, but this can be overridden with the 'Endpoint Override URL' property for use with other S3-compatible endpoints. The S3 API specifies that the maximum file size for a PutS3Object upload is 5GB.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value |
Allowable Values |
Description |
---|---|---|---|
Object Key | The key of the S3 object. If none is given the filename attribute will be used by default. Supports Expression Language: true |
||
Bucket | The S3 bucket Supports Expression Language: true |
||
Content Type | Sets the Content-Type HTTP header indicating the type of content stored in the associated object. The value of this header is a standard MIME type. If no content type is provided the default content type "application/octet-stream" will be used. Supports Expression Language: true |
||
Use Default Credentials | false | If true, uses the Default Credential chain to obtain AWS credentials, including EC2 instance profiles or roles, environment variables, default user credentials, etc. | |
Access Key | AWS account access key Supports Expression Language: true |
||
Secret Key | AWS account secret key Supports Expression Language: true |
||
Credentials File | Path to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey | ||
AWS Credentials Provider service | The name of the AWS Credentials Provider controller service that is used to obtain AWS credentials. | ||
Storage Class | Standard | Standard ReducedRedundancy StandardIA OnezoneIA IntelligentTiering Glacier DeepArchive |
AWS S3 Storage Class |
Region | us-west-2 | af-south-1 ap-east-1 ap-northeast-1 ap-northeast-2 ap-northeast-3 ap-south-1 ap-southeast-1 ap-southeast-2 ca-central-1 cn-north-1 cn-northwest-1 eu-central-1 eu-north-1 eu-south-1 eu-west-1 eu-west-2 eu-west-3 me-south-1 sa-east-1 us-east-1 us-east-2 us-gov-east-1 us-gov-west-1 us-west-1 us-west-2 |
AWS Region |
Communications Timeout | 30 sec | Sets the timeout of the communication between the AWS server and the client | |
FullControl User List | A comma-separated list of Amazon User ID's or E-mail addresses that specifies who should have Full Control for an object. Supports Expression Language: true |
||
Read Permission User List | A comma-separated list of Amazon User ID's or E-mail addresses that specifies who should have Read Access for an object. Supports Expression Language: true |
||
Read ACL User List | A comma-separated list of Amazon User ID's or E-mail addresses that specifies who should have permissions to read the Access Control List for an object. Supports Expression Language: true |
||
Write ACL User List | A comma-separated list of Amazon User ID's or E-mail addresses that specifies who should have permissions to change the Access Control List for an object. Supports Expression Language: true |
||
Endpoint Override URL | Endpoint URL to use instead of the AWS default including scheme, host, port, and path. The AWS libraries select an endpoint URL based on the AWS region, but this property overrides the selected endpoint URL, allowing use with other S3-compatible endpoints. Supports Expression Language: true |
||
Server Side Encryption | None | None AES256 aws_kms |
Specifies the algorithm used for server side encryption. |
Proxy Host | Proxy host name or IP Supports Expression Language: true |
||
Proxy Port | The port number of the proxy host Supports Expression Language: true |
||
Proxy Username | Username to set when authenticating against proxy Supports Expression Language: true |
||
Proxy Password | Password to set when authenticating against proxy Supports Expression Language: true |
Name | Description |
---|---|
failure | FlowFiles are routed to failure relationship |
success | FlowFiles are routed to success relationship |
Sends FlowFiles to an SFTP Server
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Batch Size | 500 | The maximum number of FlowFiles to send in a single connection | |
Conflict Resolution | NONE | FAIL IGNORE NONE REJECT RENAME REPLACE |
Determines how to handle the problem of filename collisions |
Connection Timeout | 30 sec | Amount of time to wait before timing out while creating a connection | |
Create Directory | false | Specifies whether or not the remote directory should be created if it does not exist. | |
Data Timeout | 30 sec | When transferring a file between the local and remote system, this value specifies how long is allowed to elapse without any data being transferred between systems | |
Disable Directory Listing | false | If set to 'true', directory listing is not performed prior to create missing directories. By default, this processor executes a directory listing command to see target directory existence before creating missing directories. However, there are situations that you might need to disable the directory listing such as the following. Directory listing might fail with some permission setups (e.g. chmod 100) on a directory. Also, if any other SFTP client created the directory after this processor performed a listing and before a directory creation request by this processor is finished, then an error is returned because the directory already exists. | |
Dot Rename | true | If true, then the filename of the sent file is prepended with a "." and then renamed back to the original once the file is completely sent. Otherwise, there is no rename. This property is ignored if the Temporary Filename property is set. | |
Host Key File | If supplied, the given file will be used as the Host Key; otherwise, no use host key file will be used | ||
Hostname | The fully qualified hostname or IP address of the remote system Supports Expression Language: true |
||
Http Proxy Password | Http Proxy Password Supports Expression Language: true |
||
Http Proxy Username | Http Proxy Username Supports Expression Language: true |
||
Last Modified Time | The lastModifiedTime to assign to the file after transferring it. If not set, the lastModifiedTime will not be changed. Format must be yyyy-MM-dd'T'HH:mm:ssZ. You may also use expression language such as ${file.lastModifiedTime}. If the value is invalid, the processor will not be invalid but will fail to change lastModifiedTime of the file. Supports Expression Language: true |
||
Password | Password for the user account Supports Expression Language: true |
||
Permissions | The permissions to assign to the file after transferring it. Format must be either UNIX rwxrwxrwx with a - in place of denied permissions (e.g. rw-r--r--) or an octal number (e.g. 644). If not set, the permissions will not be changed. You may also use expression language such as ${file.permissions}. If the value is invalid, the processor will not be invalid but will fail to change permissions of the file. Supports Expression Language: true |
||
Port | The port that the remote system is listening on for file transfers Supports Expression Language: true |
||
Private Key Passphrase | Password for the private key Supports Expression Language: true |
||
Private Key Path | The fully qualified path to the Private Key file Supports Expression Language: true |
||
Proxy Host | The fully qualified hostname or IP address of the proxy server Supports Expression Language: true |
||
Proxy Port | The port of the proxy server Supports Expression Language: true |
||
Proxy Type | DIRECT | DIRECT HTTP SOCKS |
Specifies the Proxy Configuration Controller Service to proxy network requests. If set, it supersedes proxy settings configured per component. Supported proxies: HTTP + AuthN, SOCKS + AuthN |
Reject Zero-Byte Files | true | Determines whether or not Zero-byte files should be rejected without attempting to transfer | |
Remote Group | Integer value representing the Group ID to set on the file after transferring it. If not set, the group will not be set. You may also use expression language such as ${file.group}. If the value is invalid, the processor will not be invalid but will fail to change the group of the file. Supports Expression Language: true |
||
Remote Owner | Integer value representing the User ID to set on the file after transferring it. If not set, the owner will not be set. You may also use expression language such as ${file.owner}. If the value is invalid, the processor will not be invalid but will fail to change the owner of the file. Supports Expression Language: true |
||
Remote Path | The path on the remote system from which to pull or push files Supports Expression Language: true |
||
Send Keep Alive On Timeout | true | Indicates whether or not to send a single Keep Alive message when SSH socket times out | |
Strict Host Key Checking | false | Indicates whether or not strict enforcement of hosts keys should be applied | |
Temporary Filename | If set, the filename of the sent file will be equal to the value specified during the transfer and after successful completion will be renamed to the original filename. If this value is set, the Dot Rename property is ignored. Supports Expression Language: true |
||
Use Compression | false | Indicates whether or not ZLIB compression should be used when transferring files | |
Username | Username Supports Expression Language: true |
Name | Description |
---|---|
failure | FlowFiles that failed to send to the remote system; failure is usually looped back to this processor |
reject | FlowFiles that were rejected by the destination system |
success | FlowFiles that are successfully sent will be routed to success |
Executes a SQL UPDATE or INSERT command. The content of an incoming FlowFile is expected to be the SQL command to execute. The SQL command may use the ? character to bind parameters. In this case, the parameters to use must exist as FlowFile attributes with the naming convention sql.args.N.type and sql.args.N.value, where N is a positive integer. The content of the FlowFile is expected to be in UTF-8 format.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
DB Controller Service | Database Controller Service. | ||
SQL Statement | The SQL statement to execute. The statement can be empty, a constant value, or built from attributes using Expression Language. If this property is specified, it will be used regardless of the content of incoming flowfiles. If this property is empty, the content of the incoming flow file is expected to contain a valid SQL statement, to be issued by the processor to the database. |
Name | Description |
---|---|
success | After a successful SQL update operation, the incoming FlowFile sent here |
Fetches all rows of a table, whose values in the specified Maximum-value Columns are larger than the previously-seen maxima. If that property is not provided, all rows are returned. The rows are grouped according to the value of Max Rows Per Flow File property and formatted as JSON.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Columns to Return | A comma-separated list of column names to be used in the query. If your database requires special treatment of the names (quoting, e.g.), each name should include such treatment. If no column names are supplied, all columns in the specified table will be returned. NOTE: It is important to use consistent column names for a given table for incremental fetch to work properly. | ||
DB Controller Service | Database Controller Service. | ||
Max Rows Per Flow File | 0 | The maximum number of result rows that will be included in a single FlowFile. This will allow you to break up very large result sets into multiple FlowFiles. If the value specified is zero, then all rows are returned in a single FlowFile. | |
Maximum-value Columns | A comma-separated list of column names. The processor will keep track of the maximum value for each column that has been returned since the processor started running. Using multiple columns implies an order to the column list, and each column's values are expected to increase more slowly than the previous columns' values. Thus, using multiple columns implies a hierarchical structure of columns, which is usually used for partitioning tables. | ||
Output Format | JSON-Pretty | JSON JSON-Pretty |
Set the output format type. |
Table Name | The name of the database table to be queried. | ||
Where Clause | A custom clause to be added in the WHERE condition when building SQL queries. |
Name | Description |
---|---|
success | Successfully created FlowFile from SQL query result set. |
Name | Value | Description |
---|---|---|
initial.maxvalue.<max_value_column> | Initial maximum value for the specified column | Specifies an initial max value for max value column(s). Properties should be added in the format initial.maxvalue.<max_value_column> . This value is only used the first time the table is accessed (when a Maximum Value Column is specified).Supports Expression Language: true |
FlowFiles passed to this Processor have a 'Retry Attribute' value checked against a configured 'Maximum Retries' value. If the current attribute value is below the configured maximum, the FlowFile is passed to a retry relationship. The FlowFile may or may not be penalized in that condition. If the FlowFile's attribute value exceeds the configured maximum, the FlowFile will be passed to a 'retries_exceeded' relationship. WARNING: If the incoming FlowFile has a non-numeric value in the configured 'Retry Attribute' attribute, it will be reset to '1'. You may choose to fail the FlowFile instead of performing the reset. Additional dynamic properties can be defined for any attributes you wish to add to the FlowFiles transferred to 'retries_exceeded'. These attributes support attribute expression language.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Retry Attribute | "flowfile.retries" | The name of the attribute that contains the current retry count for the FlowFile. WARNING: If the name matches an attribute already on the FlowFile that does not contain a numerical value, the processor will either overwrite that attribute with '1' or fail based on configuration. Supports Expression Language: true |
|
Maximum Retries | 3 | The maximum number of times a FlowFile can be retried before being passed to the 'retries_exceeded' relationship. Supports Expression Language: true |
|
Penalize Retries | true | "If set to 'true', this Processor will penalize input FlowFiles before passing them to the 'retry' relationship. This does not apply to the 'retries_exceeded' relationship. | |
Fail on Non-numerical Overwrite | false | If the FlowFile already has the attribute defined in 'Retry Attribute' that is not a number, fail the FlowFile instead of resetting that value to '1'. | |
Reuse Mode | "Fail on Reuse" | "Fail on Reuse" "Warn on Reuse" "Reset Reuse" |
Defines how the Processor behaves if the retry FlowFile has a different retry UUID than the instance that received the FlowFile. This generally means that the attribute was not reset after being successfully retried by a previous instance of this processor. Warn on reuse and Fail on Reuse both resets the retry property value to 1 and marks the flowfile to be last retried by this processor. |
Name | Description |
---|---|
retry | Input FlowFile has not exceeded the configured maximum retry count, pass this relationship back to the input Processor to create a limited feedback loop. |
retries_exceeded | Input FlowFile has exceeded the configured maximum retry count, do not pass this relationship back to the input Processor to terminate the limited feedback loop. |
failure | The processor is configured such that a non-numerical value on 'Retry Attribute' results in a failure instead of resetting that value to '1'. This will immediately terminate the limited feedback loop. Might also include when 'Maximum Retries' contains attribute expression language that does not resolve to an Integer. |
Name | Value | Description |
---|---|---|
Exceeded FlowFile Attribute Key | The value of the attribute added to the FlowFile | One or more dynamic properties can be used to add attributes to FlowFiles passed to the 'retries_exceeded' relationship. Supports Expression Language: true |
Name | Description |
---|---|
Retry Attribute | User defined retry attribute is updated with the current retry count |
Retry Attribute .uuid | User defined retry attribute with .uuid that determines what processor retried the FlowFile last |
Routes FlowFiles based on their Attributes using the Attribute Expression Language.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|
Name | Description |
---|---|
failure | Failed files are transferred to failure |
unmatched | Files which do not match any expression are routed here |
"Tails" a file, or a list of files, ingesting data from the file as it is written to the file. The file is expected to be textual. Data is ingested only when a new line is encountered (carriage return or new-line character or combination). If the file to tail is periodically "rolled over", as is generally the case with log files, an optional Rolling Filename Pattern can be used to retrieve data from files that have rolled over, even if the rollover occurred while NiFi was not running (provided that the data still exists upon restart of NiFi). It is generally advisable to set the Run Schedule to a few seconds, rather than running with the default value of 0 secs, as this Processor will consume a lot of resources if scheduled very aggressively. At this time, this Processor does not support ingesting files that have been compressed when 'rolled over'.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
File to Tail | Fully-qualified filename of the file that should be tailed when using single file mode, or a file regex when using multifile mode | ||
Initial Start Position | Beginning of File | Beginning of Time Beginning of File Current Time |
When the Processor first begins to tail data, this property specifies where the Processor should begin reading data. Once data has been ingested from a file, the Processor will continue from the last point from which it has received data. Beginning of Time: Start with the oldest data that matches the Rolling Filename Pattern and then begin reading from the File to Tail. Beginning of File: Start with the beginning of the File to Tail. Do not ingest any data that has already been rolled over. Current Time: Start with the data at the end of the File to Tail. Do not ingest any data that has already been rolled over or any data in the File to Tail that has already been written. |
Input Delimiter | Specifies the character that should be used for delimiting the data being tailedfrom the incoming file.If none is specified, data will be ingested as it becomes available. | ||
State File | TailFileState | Specifies the file that should be used for storing state about what data has been ingested so that upon restart NiFi can resume from where it left off | |
tail-base-directory | |||
tail-mode | Single file | Single file Multiple file |
Specifies the tail file mode. In 'Single file' mode only a single file will be watched. In 'Multiple file' mode a regex may be used. Note that in multiple file mode we will still continue to watch for rollover on the initial set of watched files. The Regex used to locate multiple files will be run during the schedule phrase. Note that if rotated files are matched by the regex, those files will be tailed. |
Name | Description |
---|---|
success | All files are routed to success |
Restores a FlowFile which has had an archive entry focused via FocusArchiveEntry to its original state.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|
Name | Description |
---|---|
success | success operational on the flow record |
This processor updates the attributes of a FlowFile using properties that are added by the user. This allows you to set default attribute changes that affect every FlowFile going through the processor, equivalent to the "basic" usage in Apache NiFi.
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
---|
Name | Description |
---|---|
failure | Failed files are transferred to failure |
success | All files are routed to success |