Table of Contents

AppendHostInfo

Description

Appends host information such as IP address and hostname as an attribute to incoming flowfiles.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Network Interface FilterA regular expression to filter ip addresses based on the name of the network interface
Hostname Attributesource.hostnameFlowfile attribute used to record the agent's hostname
IP Attributesource.ipv4Flowfile attribute used to record the agent's IP addresses in a comma separated list
Refresh PolicyOn scheduleOn schedule
On every trigger
When to recalculate the host info

Relationships

NameDescription
successsuccess operational on the flow record

ApplyTemplate

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
TemplatePath to the input mustache template file

Relationships

NameDescription
successsuccess operational on the flow record

AttributeRollingWindow

Description

Track a Rolling Window based on evaluating an Expression Language expression on each FlowFile. Each FlowFile will be emitted with the count of FlowFiles and total aggregate value of values processed in the current window.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Value to trackThe expression on which to evaluate each FlowFile. The result of the expression will be added to the rolling window value.
Supports Expression Language: true
Time windowThe amount of time for a rolling window. The format of the value is expected to be a count followed by a time unit. For example 5 millis, 10 secs, 1 min, 3 hours, 2 days, etc.
Window length0The window length in number of values. Takes precedence over ‘Time window’. If set to zero, the ‘Time window’ property is used instead.
Attribute name prefixrolling.window.The prefix to add to the generated attribute names. For example, if this is set to ‘rolling.window.’, then the full attribute names will be ‘rolling.window.value’, ‘rolling.window.count’, etc.

Relationships

NameDescription
successAll FlowFiles that are successfully processed are routed to this relationship.
failureWhen a FlowFile fails, it is routed here.

Output Attributes

AttributeRelationshipDescription
countsuccessNumber of the values in the rolling window
valuesuccessSum of the values in the rolling window
meansuccessMean of the values in the rolling window
mediansuccessMedian of the values in the rolling window
variancesuccessVariance of the values in the rolling window
stddevsuccessStandard deviation of the values in the rolling window
minsuccessSmallest value in the rolling window
maxsuccessLargest value in the rolling window

AttributesToJSON

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Attributes ListComma 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 ExpressionRegular 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.
Destinationflowfile-attributeflowfile-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 Attributestruetrue
false
Determines if the FlowFile core attributes which are contained in every FlowFile should be included in the final JSON value generated.
Null Valuefalsetrue
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.

Relationships

NameDescription
successAll FlowFiles received are routed to success

BinFiles

Description

Bins flow files into buckets based on the number of entries or size of entries

Properties

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.

NameDefault ValueAllowable ValuesDescription
Minimum Group Size0The minimum size of for the bundle
Maximum Group SizeThe maximum size for the bundle. If not specified, there is no maximum.
Minimum Number of Entries1The minimum number of files to include in a bundle
Maximum Number of EntriesThe maximum number of files to include in a bundle. If not specified, there is no maximum.
Maximum number of Bins100Specifies the maximum number of bins that can be held in memory at any one time
Max Bin AgeThe maximum age of a Bin that will trigger a Bin to be complete. Expected format is
Batch Size1Maximum number of FlowFiles processed in a single session

Relationships

NameDescription
failureIf the bundle cannot be created, all FlowFiles that would have been used to create the bundle will be transferred to failure
originalThe FlowFiles that were used to create the bundle

CapturePacket

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Batch Size50The number of packets to combine within a given PCAP
Network Controllers.*Regular expression of the network controller(s) to which we will attach
Base Directory/tmp/Scratch directory for PCAP files
Capture Bluetoothfalsetrue
false
True indicates that we support bluetooth interfaces

Relationships

NameDescription
successAll files are routed to success

CaptureRTSPFrame

Description

Captures a frame from the RTSP stream at specified intervals.

Properties

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.

NameDefault ValueAllowable ValuesDescription
RTSP UsernameThe username for connecting to the RTSP stream
RTSP PasswordPassword used to connect to the RTSP stream
Sensitive Property: true
RTSP HostnameHostname of the RTSP stream we are trying to connect to
RTSP URIURI that should be appended to the RTSP stream hostname
RTSP PortPort that should be connected to to receive RTSP Frames
Image Encoding.jpgThe encoding that should be applied the the frame images captured from the RTSP stream

Relationships

NameDescription
successSuccessful capture of RTSP frame
failureFailures to capture RTSP frame

CollectKubernetesPodMetrics

Description

A processor which collects pod metrics when MiNiFi is run inside Kubernetes.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Kubernetes Controller ServiceController service which provides Kubernetes functionality

Relationships

NameDescription
successAll flow files produced are routed to Success.

CollectorInitiatedSubscription

Description

Windows Event Log Subscribe Callback to receive FlowFiles from Events on Windows.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Subscription NameThe name of the subscription. The value provided for this parameter should be unique within the computer's scope.
Supports Expression Language: true
Subscription DescriptionA description of the subscription.
Supports Expression Language: true
Source AddressThe IP address or fully qualified domain name (FQDN) of the local or remote computer (event source) from which the events are collected.
Supports Expression Language: true
Source User NameThe user name, which is used by the remote computer (event source) to authenticate the user.
Supports Expression Language: true
Source PasswordThe password, which is used by the remote computer (event source) to authenticate the user.
Sensitive Property: true
Supports Expression Language: true
Source ChannelsThe Windows Event Log Channels (on domain computer(s)) from which events are transferred.
Supports Expression Language: true
Max Delivery Items1000Determines the maximum number of items that will forwarded from an event source for each request.
Delivery MaxLatency Time10 minHow long, in milliseconds, the event source should wait before sending events.
Heartbeat Interval10 minTime interval, in milliseconds, which is observed between the sent heartbeat messages. The event collector uses this property to determine the interval between queries to the event source.
ChannelForwardedEventsThe Windows Event Log Channel (on local machine) to which events are transferred.
Supports Expression Language: true
Query*XPath Query to filter events. (See https://msdn.microsoft.com/en-us/library/windows/desktop/dd996910(v=vs.85).aspx for examples.)
Supports Expression Language: true
Max Buffer Size1 MBThe individual Event Log XMLs are rendered to a buffer. This specifies the maximum size in bytes that the buffer will be allowed to grow to. (Limiting the maximum size of an individual Event XML.)
Inactive Duration To Reconnect10 minIf no new event logs are processed for the specified time period, this processor will try reconnecting to recover from a state where any further messages cannot be consumed. Such situation can happen if Windows Event Log service is restarted, or ERROR_EVT_QUERY_RESULT_STALE (15011) is returned. Setting no duration, e.g. ‘0 ms’ disables auto-reconnection.

Relationships

NameDescription
successRelationship for successfully consumed events.

CompressContent

Description

Compresses or decompresses the contents of FlowFiles using a user-specified compression algorithm and updates the mime.type attribute as appropriate

Properties

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.

NameDefault ValueAllowable ValuesDescription
Modecompresscompress
decompress
Indicates whether the processor should compress content or decompress content.
Compression Level1The compression level to use; this is valid only when using GZIP compression.
Compression Formatuse mime.type attributegzip
lzma
xz-lzma2
bzip2
use mime.type attribute
The compression format to use.
Update Filenamefalsetrue
false
Determines if filename extension need to be updated
Encapsulate in TARtruetrue
false
If true, on compression the FlowFile is added to a TAR archive and then compressed, and on decompression a compressed, TAR-encapsulated FlowFile is expected.
If false, on compression the content of the FlowFile simply gets compressed, and on decompression a simple compressed content is expected.
true is the behaviour compatible with older MiNiFi C++ versions, false is the behaviour compatible with NiFi.
Batch Size1Maximum number of FlowFiles processed in a single session

Relationships

NameDescription
successFlowFiles will be transferred to the success relationship after successfully being compressed or decompressed
failureFlowFiles will be transferred to the failure relationship if they fail to compress/decompress

ConsumeJournald

Description

Consume systemd-journald journal messages. Creates one flow file per message. Fields are mapped to attributes. Realtime timestamp is mapped to the ‘timestamp’ attribute. Available on Linux only.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Batch Size1000The maximum number of entries processed in a single execution.
Payload FormatSyslogRaw
Syslog
Configures flow file content formatting. Raw: only the message. Syslog: similar to syslog or journalctl output.
Include Timestamptruetrue
false
Include message timestamp in the ‘timestamp’ attribute.
Journal TypeSystemUser
System
Both
Type of journal to consume.
Process Old Messagesfalsetrue
false
Process events created before the first usage (schedule) of the processor instance.
Timestamp Format%x %X %ZFormat 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”. See https://howardhinnant.github.io/date/date.html#to_stream_formatting for all flags.

Relationships

NameDescription
successSuccessfully consumed journal messages.

ConsumeKafka

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
SSL Context ServiceSSL Context Service Name
Security Protocolplaintextplaintext
ssl
sasl_plaintext
sasl_ssl
Protocol used to communicate with brokers. Corresponds to Kafka's ‘security.protocol’ property.
Kerberos Service NameKerberos Service Name
Kerberos PrincipalKerberos Principal
Kerberos Keytab PathThe path to the location on the local filesystem where the kerberos keytab is located. Read permission on the file is required.
SASL MechanismGSSAPIGSSAPI
PLAIN
The SASL mechanism to use for authentication. Corresponds to Kafka's ‘sasl.mechanism’ property.
UsernameThe username when the SASL Mechanism is sasl_plaintext
PasswordThe password for the given username when the SASL Mechanism is sasl_plaintext
Sensitive Property: true
Kafka Brokerslocalhost:9092A comma-separated list of known Kafka Brokers in the format :.
Supports Expression Language: true
Topic NamesThe name of the Kafka Topic(s) to pull from. Multiple topic names are supported as a comma separated list.
Supports Expression Language: true
Topic Name FormatNamesNames
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.
Honor Transactionstruetrue
false
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.
Group IDA 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
Offset Resetlatestearliest
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.
Key Attribute EncodingUTF-8UTF-8
Hex
FlowFiles that are emitted have an attribute named ‘kafka.key’. This property dictates how the value of the attribute should be encoded.
Message DemarcatorSince 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 EncodingUTF-8UTF-8
Hex
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.
Headers To Add As AttributesA 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 Duplicate Header Handling attribute.
Duplicate Header HandlingKeep LatestKeep First
Keep Latest
Comma-separated Merge
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”
Max Poll Records10000Specifies the maximum number of records Kafka should return when polling each time the processor is triggered.
Max Poll Time4 secondsSpecifies 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.
Session Timeout60 secondsClient 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.

Relationships

NameDescription
successIncoming Kafka messages as flowfiles. Depending on the demarcation strategy, this can be one or multiple flowfiles per message.

ConsumeMQTT

Description

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

Properties

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.

NameDefault ValueAllowable ValuesDescription
Broker URIThe URI to use to connect to the MQTT broker
Client IDMQTT client ID to use. WARNING: Must not be empty when using MQTT 3.1.0!
MQTT Version3.x AUTO3.x AUTO
3.1.0
3.1.1
5.0
The MQTT specification version when connecting to the broker.
TopicThe topic to subscribe to.
Clean Sessiontruetrue
false
Whether to start afresh rather than remembering previous subscriptions. If true, then make broker forget subscriptions after disconnected. MQTT 3.x only.
Clean Starttruetrue
false
Whether to start afresh rather than remembering previous subscriptions. MQTT 5.x only.
Session Expiry Interval0 sTime to delete session on broker after client is disconnected. MQTT 5.x only.
Queue Max Message1000Maximum number of messages allowed on the received MQTT queue
Attribute From Content TypeName of FlowFile attribute to be filled from content type of received message. MQTT 5.x only.
Topic Alias Maximum0Maximum number of topic aliases to use. If set to 0, then topic aliases cannot be used. MQTT 5.x only.
Receive Maximum65535Maximum number of unacknowledged messages allowed. MQTT 5.x only.
Quality of Service00
1
2
The Quality of Service (QoS) of messages.
Connection Timeout10 secMaximum time interval the client will wait for the network connection to the MQTT broker
Keep Alive Interval60 secDefines the maximum time interval between messages sent or received
Last Will TopicThe topic to send the client's Last Will to. If the Last Will topic is not set then a Last Will will not be sent
Last Will MessageThe message to send as the client's Last Will. If the Last Will Message is empty, Last Will will be deleted from the broker
Last Will QoS00
1
2
The Quality of Service (QoS) to send the last will with.
Last Will Retainfalsetrue
false
Whether to retain the client's Last Will
Last Will Content TypeContent type of the client's Last Will. MQTT 5.x only.
UsernameUsername to use when connecting to the broker
PasswordPassword to use when connecting to the broker
Sensitive Property: true
Security ProtocolProtocol used to communicate with brokers
Security CAFile or directory path to CA certificate(s) for verifying the broker's key
Security CertPath to client's public key (PEM) used for authentication
Security Private KeyPath to client's private key (PEM) used for authentication
Security Pass PhrasePrivate key passphrase
Sensitive Property: true

Relationships

NameDescription
successFlowFiles that are sent successfully to the destination are transferred to this relationship

Output Attributes

AttributeRelationshipDescription
mqtt.brokerURI of the sending broker
mqtt.topicTopic of the message

ConsumeWindowsEventLog

Description

Windows Event Log Subscribe Callback to receive FlowFiles from Events on Windows.

Properties

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.

NameDefault ValueAllowable ValuesDescription
ChannelSystemThe Windows Event Log Channel to listen to. In order to process logs from a log file use the format ‘SavedLog:<file path>’.
Supports Expression Language: true
Query*XPath Query to filter events. (See https://msdn.microsoft.com/en-us/library/windows/desktop/dd996910(v=vs.85).aspx for examples.)
Supports Expression Language: true
Max Buffer Size1 MBThe individual Event Log XMLs are rendered to a buffer. This specifies the maximum size in bytes that the buffer will be allowed to grow to. (Limiting the maximum size of an individual Event XML.)
Inactive Duration To Reconnect10 minIf no new event logs are processed for the specified time period, this processor will try reconnecting to recover from a state where any further messages cannot be consumed. Such situation can happen if Windows Event Log service is restarted, or ERROR_EVT_QUERY_RESULT_STALE (15011) is returned. Setting no duration, e.g. ‘0 ms’ disables auto-reconnection.
Identifier Match Regex.*SidRegular Expression to match Subject Identifier Fields. These will be placed into the attributes of the FlowFile
Apply Identifier Functiontruetrue
false
If true it will resolve SIDs matched in the ‘Identifier Match Regex’ to the DOMAIN\USERNAME associated with that ID
Resolve Metadata in Attributestruetrue
false
If true, any metadata that is resolved ( such as IDs or keyword metadata ) will be placed into attributes, otherwise it will be replaced in the XML or text output
Event Header DelimiterIf set, the chosen delimiter will be used in the Event output header. Otherwise, a colon followed by spaces will be used.
Event HeaderLOG_NAME=Log Name, SOURCE = Source, TIME_CREATED = Date,EVENT_RECORDID=Record ID,EVENTID = Event ID,TASK_CATEGORY = Task Category,LEVEL = Level,KEYWORDS = Keywords,USER = User,COMPUTER = Computer, EVENT_TYPE = EventTypeComma seperated list of key/value pairs with the following keys LOG_NAME, SOURCE, TIME_CREATED,EVENT_RECORDID,EVENTID,TASK_CATEGORY,LEVEL,KEYWORDS,USER,COMPUTER, and EVENT_TYPE. Eliminating fields will remove them from the header.
Output FormatBothXML
Both
Plaintext
JSON
Set the output format type. In case ‘Both’ is selected the processor generates two flow files for every event captured in format XML and Plaintext
JSON FormatSimpleRaw
Simple
Flattened
Set the json format type. Only applicable if Output Format is set to ‘JSON’
Batch Commit Size1000Maximum number of Events to consume and create to Flow Files from before committing.
State DirectoryCWELStateDEPRECATED. Only use it for state migration from the state file, supplying the legacy state directory.
Process Old Eventsfalsetrue
false
This property defines if old events (which are created before first time server is started) should be processed.
Cache SID Lookupstruetrue
false
Determines whether SID to name lookups are cached in memory

Relationships

NameDescription
successRelationship for successfully consumed events.

DefragmentText

Description

DefragmentText splits and merges incoming flowfiles so cohesive messages are not split between them. It can handle multiple inputs differentiated by the absolute.path flow file attribute.

Properties

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.

NameDefault ValueAllowable ValuesDescription
PatternA regular expression to match at the start or end of messages.
Pattern LocationStart of MessageEnd of Message
Start of Message
Whether the pattern is located at the start or at the end of the messages.
Max Buffer Age10 minThe maximum age of the buffer after which it will be transferred to success when matching Start of Message patterns or to failure when matching End of Message patterns. Expected format is
Max Buffer SizeThe maximum buffer size, if the buffer exceeds this, it will be transferred to failure. Expected format is

Relationships

NameDescription
successFlowfiles that have been successfully defragmented
failureFlowfiles that failed the defragmentation process

DeleteAzureBlobStorage

Description

Deletes the provided blob from Azure Storage

Properties

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.

NameDefault ValueAllowable ValuesDescription
Azure Storage Credentials ServiceName of the Azure Storage Credentials Service used to retrieve the connection string from.
Container NameName 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 NameThe storage account name.
Supports Expression Language: true
Storage Account KeyThe 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.
Sensitive Property: true
Supports Expression Language: true
SAS TokenShared Access Signature token. Specify either SAS Token (recommended) or Storage Account Key together with Storage Account Name if Managed Identity is not used.
Sensitive Property: true
Supports Expression Language: true
Common Storage Account Endpoint SuffixStorage 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 StringConnection 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
Use Managed Identity Credentialsfalsetrue
false
If true Managed Identity credentials will be used together with the Storage Account Name for authentication.
BlobThe filename of the blob. If left empty the filename attribute will be used by default.
Supports Expression Language: true
Delete Snapshots OptionNoneNone
Include Snapshots
Delete Snapshots Only
Specifies the snapshot deletion options to be used when deleting a blob. None: Deletes the blob only. Include Snapshots: Delete the blob and its snapshots. Delete Snapshots Only: Delete only the blob's snapshots.

Relationships

NameDescription
successAll successfully processed FlowFiles are routed to this relationship
failureUnsuccessful operations will be transferred to the failure relationship

DeleteAzureDataLakeStorage

Description

Deletes the provided file from Azure Data Lake Storage

Properties

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.

NameDefault ValueAllowable ValuesDescription
Azure Storage Credentials ServiceName of the Azure Storage Credentials Service used to retrieve the connection string from.
Filesystem NameName of the Azure Storage File System. It is assumed to be already existing.
Supports Expression Language: true
Directory NameName 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 NameThe filename in Azure Storage. If left empty the filename attribute will be used by default.
Supports Expression Language: true

Relationships

NameDescription
successIf file deletion from Azure storage succeeds the flowfile is transferred to this relationship
failureIf file deletion from Azure storage fails the flowfile is transferred to this relationship

DeleteGCSObject

Description

Deletes an object from a Google Cloud Bucket.

Properties

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.

NameDefault ValueAllowable ValuesDescription
GCP Credentials Provider ServiceThe Controller Service used to obtain Google Cloud Platform credentials. Should be the name of a GCPCredentialsControllerService.
Number of retries6How many retry attempts should be made before routing to the failure relationship.
Endpoint Override URLOverrides the default Google Cloud Storage endpoints
Supports Expression Language: true
Bucket${gcs.bucket}Bucket of the object.
Supports Expression Language: true
Key${filename}Name of the object.
Supports Expression Language: true
Server Side Encryption KeyThe AES256 Encryption Key (encoded in base64) for server-side decryption of the object.
Supports Expression Language: true
Object GenerationThe generation of the Object to download. If left empty, then it will download the latest generation.
Supports Expression Language: true

Relationships

NameDescription
successFlowFiles are routed to this relationship after a successful Google Cloud Storage operation.
failureFlowFiles are routed to this relationship if the Google Cloud Storage operation fails.

Output Attributes

AttributeRelationshipDescription
gcs.status.messagefailureThe status message received from google cloud.
gcs.error.reasonfailureThe description of the error occurred during operation.
gcs.error.domainfailureThe domain of the error occurred during operation.

DeleteS3Object

Description

Deletes FlowFiles on an Amazon S3 Bucket. If attempting to delete a file that does not exist, FlowFile is routed to success.

Properties

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.

NameDefault ValueAllowable ValuesDescription
BucketThe S3 bucket
Supports Expression Language: true
Access KeyAWS account access key
Supports Expression Language: true
Secret KeyAWS account secret key
Sensitive Property: true
Supports Expression Language: true
Credentials FilePath to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey
AWS Credentials Provider serviceThe name of the AWS Credentials Provider controller service that is used to obtain AWS credentials.
Regionus-west-2af-south-1
ap-east-1
ap-northeast-1
ap-northeast-2
ap-northeast-3
ap-south-1
ap-south-2
ap-southeast-1
ap-southeast-2
ap-southeast-3
ca-central-1
cn-north-1
cn-northwest-1
eu-central-1
eu-central-2
eu-north-1
eu-south-1
eu-south-2
eu-west-1
eu-west-2
eu-west-3
me-central-1
me-south-1
sa-east-1
us-east-1
us-east-2
us-gov-east-1
us-gov-west-1
us-iso-east-1
us-isob-east-1
us-iso-west-1
us-west-1
us-west-2
AWS Region
Communications Timeout30 secSets the timeout of the communication between the AWS server and the client
Endpoint Override URLEndpoint 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 HostProxy host name or IP
Supports Expression Language: true
Proxy PortThe port number of the proxy host
Supports Expression Language: true
Proxy UsernameUsername to set when authenticating against proxy
Supports Expression Language: true
Proxy PasswordPassword to set when authenticating against proxy
Sensitive Property: true
Supports Expression Language: true
Use Default Credentialsfalsetrue
false
If true, uses the Default Credential chain, including EC2 instance profiles or roles, environment variables, default user credentials, etc.
Object KeyThe key of the S3 object. If none is given the filename attribute will be used by default.
Supports Expression Language: true
VersionThe Version of the Object to delete
Supports Expression Language: true

Relationships

NameDescription
successFlowFiles are routed to success relationship
failureFlowFiles are routed to failure relationship

ExecuteJavaProcessor

Description

ExecuteJavaClass runs NiFi processors given a provided system path

Properties

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.

NameDefault ValueAllowable ValuesDescription
JVM Controller ServiceName of controller service defined within this flow
NiFi ProcessorName of NiFi processor to load and run

Relationships

NameDescription
successAll files are routed to success

ExecuteProcess

Description

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. This processor is not available on Windows systems.

Properties

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.

NameDefault ValueAllowable ValuesDescription
CommandSpecifies the command to be executed; if just the name of an executable is provided, it must be in the user's environment PATH.
Command ArgumentsThe arguments to supply to the executable delimited by white space. White space can be escaped by enclosing it in double-quotes.
Working DirectoryThe directory to use as the current working directory when executing the command
Batch Duration0 secIf the process is expected to be long-running and produce textual output, a batch duration can be specified.
Redirect Error Streamfalsetrue
false
If true will redirect any error stream output of the process to the output stream.

Relationships

NameDescription
successAll created FlowFiles are routed to this relationship.

ExecutePythonProcessor

Description

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

Properties

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.

NameDefault ValueAllowable ValuesDescription
Script FilePath to script file to execute. Only one of Script File or Script Body may be used
Script BodyScript to execute. Only one of Script File or Script Body may be used
Module DirectoryComma-separated list of paths to files and/or directories which contain modules required by the script
Reload on Script Changetruetrue
false
If true and Script File property is used, then script file will be reloaded if it has changed, otherwise the first loaded version will be used at all times.

Relationships

NameDescription
successScript succeeds
failureScript fails

ExecuteScript

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Script Enginepythonlua
python
The engine to execute scripts (python, lua)
Script FilePath to script file to execute. Only one of Script File or Script Body may be used
Script BodyBody of script to execute. Only one of Script File or Script Body may be used
Module DirectoryComma-separated list of paths to files and/or directories which contain modules required by the script

Relationships

NameDescription
successScript successes
failureScript failures

ExecuteSQL

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
DB Controller ServiceDatabase Controller Service.
Supports Expression Language: true
Output FormatJSON-PrettyJSON
JSON-Pretty
Set the output format type.
Supports Expression Language: true
Max Rows Per Flow File0The 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.
Supports Expression Language: true
SQL select queryThe 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. Note that Expression Language is not evaluated for flow file contents.
Supports Expression Language: true

Relationships

NameDescription
successSuccessfully created FlowFile from SQL query result set.
failureFlow files containing malformed sql statements

ExtractText

Description

Extracts the content of a FlowFile and places it into an attribute.

Properties

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.

NameDefault ValueAllowable ValuesDescription
AttributeAttribute to set from content
Size Limit2097152Maximum number of bytes to read into the attribute. 0 for no limit. Default is 2MB.
Regex Modefalsetrue
false
Set this to extract parts of flowfile content using regular experssions in dynamic properties
Include Capture Group 0truetrue
false
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.
Enable Case-insensitive Matchingfalsetrue
false
Indicates that two characters match even if they are in a different case.
Maximum Capture Group Length1024Specifies the maximum number of characters a given capture group value can have. Any characters beyond the max will be truncated.
Enable repeating capture groupfalsetrue
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.

Relationships

NameDescription
successsuccess operational on the flow record

FetchAzureBlobStorage

Description

Retrieves contents of an Azure Storage Blob, writing the contents to the content of the FlowFile

Properties

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.

NameDefault ValueAllowable ValuesDescription
Azure Storage Credentials ServiceName of the Azure Storage Credentials Service used to retrieve the connection string from.
Container NameName 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 NameThe storage account name.
Supports Expression Language: true
Storage Account KeyThe 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.
Sensitive Property: true
Supports Expression Language: true
SAS TokenShared Access Signature token. Specify either SAS Token (recommended) or Storage Account Key together with Storage Account Name if Managed Identity is not used.
Sensitive Property: true
Supports Expression Language: true
Common Storage Account Endpoint SuffixStorage 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 StringConnection 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
Use Managed Identity Credentialsfalsetrue
false
If true Managed Identity credentials will be used together with the Storage Account Name for authentication.
BlobThe filename of the blob. If left empty the filename attribute will be used by default.
Supports Expression Language: true
Range StartThe byte position at which to start reading from the blob. An empty value or a value of zero will start reading at the beginning of the blob.
Supports Expression Language: true
Range LengthThe number of bytes to download from the blob, starting from the Range Start. An empty value or a value that extends beyond the end of the blob will read to the end of the blob.
Supports Expression Language: true

Relationships

NameDescription
successAll successfully processed FlowFiles are routed to this relationship
failureUnsuccessful operations will be transferred to the failure relationship

FetchAzureDataLakeStorage

Description

Fetch the provided file from Azure Data Lake Storage Gen 2

Properties

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.

NameDefault ValueAllowable ValuesDescription
Azure Storage Credentials ServiceName of the Azure Storage Credentials Service used to retrieve the connection string from.
Filesystem NameName of the Azure Storage File System. It is assumed to be already existing.
Supports Expression Language: true
Directory NameName 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 NameThe filename in Azure Storage. If left empty the filename attribute will be used by default.
Supports Expression Language: true
Range StartThe byte position at which to start reading from the object. An empty value or a value of zero will start reading at the beginning of the object.
Supports Expression Language: true
Range LengthThe number of bytes to download from the object, starting from the Range Start. An empty value or a value that extends beyond the end of the object will read to the end of the object.
Supports Expression Language: true
Number of Retries0The number of automatic retries to perform if the download fails.
Supports Expression Language: true

Relationships

NameDescription
successFiles that have been successfully fetched from Azure storage are transferred to this relationship
failureIn case of fetch failure flowfiles are transferred to this relationship

FetchFile

Description

Reads the contents of a file from disk and streams it into the contents of an incoming FlowFile. Once this is done, the file is optionally moved elsewhere or deleted to help keep the file system organized.

Properties

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.

NameDefault ValueAllowable ValuesDescription
File to FetchThe fully-qualified filename of the file to fetch from the file system. If not defined the default ${absolute.path}/${filename} path is used.
Supports Expression Language: true
Completion StrategyNoneNone
Move File
Delete File
Specifies what to do with the original file on the file system once it has been pulled into MiNiFi
Move Destination DirectoryThe directory to move the original file to once it has been fetched from the file system. This property is ignored unless the Completion Strategy is set to “Move File”. If the directory does not exist, it will be created.
Supports Expression Language: true
Move Conflict StrategyRenameRename
Replace File
Keep Existing
Fail
If Completion Strategy is set to Move File and a file already exists in the destination directory with the same name, this property specifies how that naming conflict should be resolved
Log level when file not foundERRORTRACE
DEBUG
INFO
WARN
ERROR
CRITICAL
OFF
Log level to use in case the file does not exist when the processor is triggered
Log level when permission deniedERRORTRACE
DEBUG
INFO
WARN
ERROR
CRITICAL
OFF
Log level to use in case agent does not have sufficient permissions to read the file

Relationships

NameDescription
successAny FlowFile that is successfully fetched from the file system will be transferred to this Relationship.
not.foundAny FlowFile that could not be fetched from the file system because the file could not be found will be transferred to this Relationship.
permission.deniedAny FlowFile that could not be fetched from the file system due to the user running MiNiFi not having sufficient permissions will be transferred to this Relationship.
failureAny FlowFile that could not be fetched from the file system for any reason other than insufficient permissions or the file not existing will be transferred to this Relationship.

FetchGCSObject

Description

Fetches a file from a Google Cloud Bucket. Designed to be used in tandem with ListGCSBucket.

Properties

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.

NameDefault ValueAllowable ValuesDescription
GCP Credentials Provider ServiceThe Controller Service used to obtain Google Cloud Platform credentials. Should be the name of a GCPCredentialsControllerService.
Number of retries6How many retry attempts should be made before routing to the failure relationship.
Endpoint Override URLOverrides the default Google Cloud Storage endpoints
Supports Expression Language: true
Bucket${gcs.bucket}Bucket of the object.
Supports Expression Language: true
Key${filename}Name of the object.
Supports Expression Language: true
Server Side Encryption KeyThe AES256 Encryption Key (encoded in base64) for server-side decryption of the object.
Sensitive Property: true
Supports Expression Language: true
Object GenerationThe generation of the Object to download. If left empty, then it will download the latest generation.
Supports Expression Language: true

Relationships

NameDescription
successFlowFiles are routed to this relationship after a successful Google Cloud Storage operation.
failureFlowFiles are routed to this relationship if the Google Cloud Storage operation fails.

Output Attributes

AttributeRelationshipDescription
gcs.status.messagefailureThe status message received from google cloud.
gcs.error.reasonfailureThe description of the error occurred during operation.
gcs.error.domainfailureThe domain of the error occurred during operation.

FetchOPCProcessor

Description

Fetches OPC-UA node

Properties

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.

NameDefault ValueAllowable ValuesDescription
OPC server endpointSpecifies the address, port and relative path of an OPC endpoint
Application URIApplication 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.
UsernameUsername to log in with.
PasswordPassword to log in with.
Sensitive Property: true
Certificate pathPath to the DER-encoded cert file
Key pathPath to the DER-encoded key file
Trusted server certificate pathPath to the DER-encoded trusted server certificate
Node ID typePath
Int
String
Specifies the type of the provided node ID
Node IDSpecifies the ID of the root node to traverse
Namespace index0The index of the namespace. Used only if node ID type is not path.
Max depth0Specifiec the max depth of browsing. 0 means unlimited.
Lazy modeOffOn
Off
Only creates flowfiles from nodes with new timestamp from the server.

Relationships

NameDescription
successSuccessfully retrieved OPC-UA nodes
failureRetrieved OPC-UA nodes where value cannot be extracted (only if enabled)

FetchS3Object

Description

This Processor retrieves the contents of an S3 Object and writes it to the content of a FlowFile.

Properties

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.

NameDefault ValueAllowable ValuesDescription
BucketThe S3 bucket
Supports Expression Language: true
Access KeyAWS account access key
Supports Expression Language: true
Secret KeyAWS account secret key
Sensitive Property: true
Supports Expression Language: true
Credentials FilePath to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey
AWS Credentials Provider serviceThe name of the AWS Credentials Provider controller service that is used to obtain AWS credentials.
Regionus-west-2af-south-1
ap-east-1
ap-northeast-1
ap-northeast-2
ap-northeast-3
ap-south-1
ap-south-2
ap-southeast-1
ap-southeast-2
ap-southeast-3
ca-central-1
cn-north-1
cn-northwest-1
eu-central-1
eu-central-2
eu-north-1
eu-south-1
eu-south-2
eu-west-1
eu-west-2
eu-west-3
me-central-1
me-south-1
sa-east-1
us-east-1
us-east-2
us-gov-east-1
us-gov-west-1
us-iso-east-1
us-isob-east-1
us-iso-west-1
us-west-1
us-west-2
AWS Region
Communications Timeout30 secSets the timeout of the communication between the AWS server and the client
Endpoint Override URLEndpoint 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 HostProxy host name or IP
Supports Expression Language: true
Proxy PortThe port number of the proxy host
Supports Expression Language: true
Proxy UsernameUsername to set when authenticating against proxy
Supports Expression Language: true
Proxy PasswordPassword to set when authenticating against proxy
Sensitive Property: true
Supports Expression Language: true
Use Default Credentialsfalsetrue
false
If true, uses the Default Credential chain, including EC2 instance profiles or roles, environment variables, default user credentials, etc.
Object KeyThe key of the S3 object. If none is given the filename attribute will be used by default.
Supports Expression Language: true
VersionThe Version of the Object to download
Supports Expression Language: true
Requester Paysfalsetrue
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’.

Relationships

NameDescription
successFlowFiles are routed to success relationship
failureFlowFiles are routed to failure relationship

FetchSFTP

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
HostnameThe fully qualified hostname or IP address of the remote system
Supports Expression Language: true
PortThe port that the remote system is listening on for file transfers
Supports Expression Language: true
UsernameUsername
Supports Expression Language: true
PasswordPassword for the user account
Sensitive Property: true
Supports Expression Language: true
Private Key PathThe fully qualified path to the Private Key file
Supports Expression Language: true
Private Key PassphrasePassword for the private key
Sensitive Property: true
Supports Expression Language: true
Strict Host Key Checkingfalsetrue
false
Indicates whether or not strict enforcement of hosts keys should be applied
Host Key FileIf supplied, the given file will be used as the Host Key; otherwise, no use host key file will be used
Connection Timeout30 secAmount of time to wait before timing out while creating a connection
Data Timeout30 secWhen 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
Send Keep Alive On Timeouttruetrue
false
Indicates whether or not to send a single Keep Alive message when SSH socket times out
Proxy TypeDIRECTDIRECT
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
Proxy HostThe fully qualified hostname or IP address of the proxy server
Supports Expression Language: true
Proxy PortThe port of the proxy server
Supports Expression Language: true
Http Proxy UsernameHttp Proxy Username
Supports Expression Language: true
Http Proxy PasswordHttp Proxy Password
Sensitive Property: true
Supports Expression Language: true
Remote FileThe fully qualified filename on the remote system
Supports Expression Language: true
Completion StrategyNoneNone
Move File
Delete File
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.
Move Destination DirectoryThe 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
Create Directoryfalsetrue
false
Specifies whether or not the remote directory should be created if it does not exist.
Disable Directory Listingfalsetrue
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.
Use Compressionfalsetrue
false
Indicates whether or not ZLIB compression should be used when transferring files

Relationships

NameDescription
successAll FlowFiles that are received are routed to success
comms.failureAny FlowFile that could not be fetched from the remote server due to a communications failure will be transferred to this Relationship.
not.foundAny FlowFile for which we receive a ‘Not Found’ message from the remote server will be transferred to this Relationship.
permission.deniedAny FlowFile that could not be fetched from the remote server due to insufficient permissions will be transferred to this Relationship.

FetchSmb

Description

Fetches files from a SMB Share. Designed to be used in tandem with ListSmb.

Properties

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.

NameDefault ValueAllowable ValuesDescription
SMB Connection Controller ServiceSpecifies the SMB connection controller service to use for connecting to the SMB server. If the SMB share is auto-mounted to a drive letter, its recommended to use FetchFile instead.
Input DirectoryThe full path of the file to be retrieved from the remote server. If left empty, the path and filename attributes of the incoming flow file will be used.
Supports Expression Language: true

Relationships

NameDescription
successA flowfile will be routed here for each successfully fetched file.
failureA flowfile will be routed here when failed to fetch its content.

Output Attributes

AttributeRelationshipDescription
error.codefailureThe error code returned by SMB when the fetch of a file fails.
error.messagefailureThe error message returned by SMB when the fetch of a file fails.

FocusArchiveEntry

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
PathThe path within the archive to focus (“/” to focus the total archive)

Relationships

NameDescription
successsuccess operational on the flow record

GenerateFlowFile

Description

This processor creates FlowFiles with random data or custom content. GenerateFlowFile is useful for load testing, configuration, and simulation.

Properties

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.

NameDefault ValueAllowable ValuesDescription
File Size1 kBThe size of the file that will be used
Batch Size1The number of FlowFiles to be transferred in each invocation
Data FormatBinaryText
Binary
Specifies whether the data should be Text or Binary
Unique FlowFilestruetrue
false
If true, each FlowFile that is generated will be unique. If false, a random value will be generated and all FlowFiles will get the same content but this offers much higher throughput (but see the description of Custom Text for special non-random use cases)
Custom TextIf 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

Relationships

NameDescription
successsuccess operational on the flow record

GetEnvironmentalSensors

Description

Provides sensor information from known sensors to include humidity and pressure data

Properties

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.

NameDefault ValueAllowable ValuesDescription

Relationships

NameDescription
successAll files are routed to success

GetFile

Description

Creates FlowFiles from files in a directory. MiNiFi will ignore files for which it doesn't have read permissions.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Input DirectoryThe input directory from which to pull files
Supports Expression Language: true
Recurse Subdirectoriestruetrue
false
Indicates whether or not to pull files from subdirectories
Keep Source Filefalsetrue
false
If true, the file is not deleted after it has been copied to the Content Repository
Minimum File Age0 secThe 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
Maximum File Age0 secThe 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
Minimum File Size0 BThe minimum size that a file can be in order to be pulled
Maximum File Size0 BThe maximum size that a file can be in order to be pulled
Ignore Hidden Filestruetrue
false
Indicates whether or not hidden files should be ignored
Polling Interval0 secIndicates how long to wait before performing a directory listing
Batch Size10The maximum number of files to pull in each iteration
File Filter.*Only files whose names match the given regular expression will be picked up

Relationships

NameDescription
successAll files are routed to success

GetGPS

Description

Obtains GPS coordinates from the GPSDHost and port.

Properties

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.

NameDefault ValueAllowable ValuesDescription
GPSD HostlocalhostThe host running the GPSD daemon
GPSD Port2947The GPSD daemon port
GPSD Wait Time50000000Timeout value for waiting for data from the GPSD instance

Relationships

NameDescription
successAll files are routed to success

GetMovementSensors

Description

Defines a processor that is able to retrieve sensor information from a class of known servo sensors

Properties

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.

NameDefault ValueAllowable ValuesDescription

Relationships

NameDescription
successAll files are routed to success

GetTCP

Description

Establishes a TCP Server that defines and retrieves one or more byte messages from clients

Properties

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.

NameDefault ValueAllowable ValuesDescription
Endpoint ListA comma delimited list of the endpoints to connect to. The format should be <server_address>:.
SSL Context ServiceSSL Context Service Name
Message Delimiter\nCharacter that denotes the end of the message.
Max Size of Message Queue10000Maximum number of messages allowed to be buffered before processing them when the processor is triggered. If the buffer is full, the message is ignored. If set to zero the buffer is unlimited.
Maximum Message SizeOptional size of the buffer to receive data in.
Max Batch Size500The maximum number of messages to process at a time.
Timeout1sThe timeout for connecting to and communicating with the destination.
Supports Expression Language: true
Reconnection Interval1 minThe duration to wait before attempting to reconnect to the endpoints.
Supports Expression Language: true

Relationships

NameDescription
successAll files are routed to success
partialIndicates an incomplete message as a result of encountering the end of message byte trigger

Output Attributes

AttributeRelationshipDescription
source.endpointsuccess, partialThe address of the source endpoint the message came from

GetUSBCamera

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
FPS1Frames per second to capture from USB camera
WidthTarget width of image to capture from USB camera
HeightTarget height of image to capture from USB camera
FormatPNGFrame format (currently only PNG and RAW are supported; RAW is a binary pixel buffer of RGB values)
USB Vendor ID0x0USB Vendor ID of camera device, in hexadecimal format
USB Product ID0x0USB Product ID of camera device, in hexadecimal format
USB Serial No.USB Serial No. of camera device

Relationships

NameDescription
successSucessfully captured images sent here
failureFailures sent here

HashContent

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Hash AttributeChecksumAttribute to store checksum to
Hash AlgorithmSHA256Name of the algorithm used to generate checksum
Fail on emptyfalseRoute to failure relationship in case of empty content

Relationships

NameDescription
successsuccess operational on the flow record
failurefailure operational on the flow record

InvokeHTTP

Description

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

Properties

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.

NameDefault ValueAllowable ValuesDescription
HTTP MethodGETGET
POST
PUT
PATCH
DELETE
CONNECT
HEAD
OPTIONS
TRACE
HTTP request method. Methods other than POST, PUT and PATCH will be sent without a message body.
Remote URLRemote URL which will be connected to, including scheme, host, port, path.
Supports Expression Language: true
Connection Timeout5 sMax wait time for connection to remote service
Read Timeout15 sMax wait time for response from remote service
Include Date Headertruetrue
false
Include an RFC-2616 Date header in the request.
Follow Redirectstruetrue
false
Follow HTTP redirects issued by remote server.
Attributes to SendRegular expression that defines which attributes to send as HTTP headers in the request. If not defined, no attributes are sent as headers.
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL (https) connections.
Proxy HostThe fully qualified hostname or IP address of the proxy server
Proxy PortThe port of the proxy server
invokehttp-proxy-usernameUsername to set when authenticating against proxy
invokehttp-proxy-passwordPassword to set when authenticating against proxy
Sensitive Property: true
Content-typeapplication/octet-streamThe 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
send-message-bodytruetrue
false
DEPRECATED. Only kept for backwards compatibility, no functionality is included.
Send Message Bodytruetrue
false
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.
Use Chunked Encodingfalsetrue
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.
Disable Peer Verificationfalsetrue
false
DEPRECATED. The value is ignored, peer and host verification are always performed when using SSL/TLS.
Put Response Body in AttributeIf 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.
Always Output Responsefalsetrue
false
Will force a response FlowFile to be generated and routed to the ‘Response’ relationship regardless of what the server status code received is
Penalize on “No Retry”falsetrue
false
Enabling this property will penalize FlowFiles that are routed to the “No Retry” relationship.
Invalid HTTP Header Field Handling Strategytransformfail
transform
drop
Indicates what should happen when an attribute's name is not a valid HTTP header field name. Options: transform - invalid characters are replaced, fail - flow file is transferred to failure, drop - drops invalid attributes from HTTP message
Upload Speed LimitMaximum upload speed, e.g. ‘500 KB/s’. Leave this empty if you want no limit.
Download Speed LimitMaximum download speed,e.g. ‘500 KB/s’. Leave this empty if you want no limit.

Relationships

NameDescription
successThe original FlowFile will be routed upon success (2xx status codes). It will have new attributes detailing the success of the request.
responseA 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.
retryThe 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 retryThe 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.
failureThe original FlowFile will be routed on any type of connection failure, timeout or general exception. It will have new attributes detailing the request.

Output Attributes

AttributeRelationshipDescription
invokehttp.status.codesuccess, response, retry, no retryThe status code that is returned
invokehttp.status.messagesuccess, response, retry, no retryThe status message that is returned
invokehttp.request.urlsuccess, response, retry, no retryThe original request URL
invokehttp.tx.idsuccess, response, retry, no retryThe transaction ID that is returned after reading the response

JoltTransformJSON

Description

Applies a list of Jolt specifications to the flowfile JSON payload. A new FlowFile is created with transformed content and is routed to the ‘success’ relationship. If the JSON transform fails, the original FlowFile is routed to the ‘failure’ relationship.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Jolt Transformation DSLShiftShiftSpecifies the Jolt Transformation that should be used with the provided specification.
Jolt SpecificationJolt Specification for transformation of JSON data. The value for this property may be the text of a Jolt specification or the path to a file containing a Jolt specification. ‘Jolt Specification’ must be set, or the value is ignored if the Jolt Sort Transformation is selected.

Relationships

NameDescription
successThe FlowFile with transformed content will be routed to this relationship
failureIf a FlowFile fails processing for any reason (for example, the FlowFile is not valid JSON), it will be routed to this relationship

ListAzureBlobStorage

Description

Lists blobs in an Azure Storage container. Listing details are attached to an empty FlowFile for use with FetchAzureBlobStorage.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Azure Storage Credentials ServiceName of the Azure Storage Credentials Service used to retrieve the connection string from.
Container NameName 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 NameThe storage account name.
Supports Expression Language: true
Storage Account KeyThe 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.
Sensitive Property: true
Supports Expression Language: true
SAS TokenShared Access Signature token. Specify either SAS Token (recommended) or Storage Account Key together with Storage Account Name if Managed Identity is not used.
Sensitive Property: true
Supports Expression Language: true
Common Storage Account Endpoint SuffixStorage 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 StringConnection 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
Use Managed Identity Credentialsfalsetrue
false
If true Managed Identity credentials will be used together with the Storage Account Name for authentication.
Listing Strategytimestampsnone
timestamps
Specify how to determine new/updated entities. If ‘timestamps’ is selected it tracks the latest timestamp of listed entity to determine new/updated entities. If ‘none’ is selected it lists an entity without any tracking, the same entity will be listed each time on executing this processor.
PrefixSearch prefix for listing
Supports Expression Language: true

Relationships

NameDescription
successAll FlowFiles that are received are routed to success

ListAzureDataLakeStorage

Description

Lists directory in an Azure Data Lake Storage Gen 2 filesystem

Properties

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.

NameDefault ValueAllowable ValuesDescription
Azure Storage Credentials ServiceName of the Azure Storage Credentials Service used to retrieve the connection string from.
Filesystem NameName of the Azure Storage File System. It is assumed to be already existing.
Supports Expression Language: true
Directory NameName 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
Recurse Subdirectoriestruetrue
false
Indicates whether to list files from subdirectories of the directory
File FilterOnly files whose names match the given regular expression will be listed
Path FilterWhen ‘Recurse Subdirectories’ is true, then only subdirectories whose paths match the given regular expression will be scanned
Listing Strategytimestampsnone
timestamps
Specify how to determine new/updated entities. If ‘timestamps’ is selected it tracks the latest timestamp of listed entity to determine new/updated entities. If ‘none’ is selected it lists an entity without any tracking, the same entity will be listed each time on executing this processor.

Relationships

NameDescription
successAll FlowFiles that are received are routed to success

ListenHTTP

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Base PathcontentListenerBase path for incoming connections
Listening Port80The Port to listen on for incoming connections. 0 means port is going to be selected randomly.
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.
SSL CertificateFile containing PEM-formatted file including TLS/SSL certificate and key
SSL Certificate AuthorityFile containing trusted PEM-formatted certificates
SSL Verify Peernoyes
no
Whether or not to verify the client's certificate (yes/no)
SSL Minimum VersionTLS1.2TLS1.2Minimum TLS/SSL version allowed (TLS1.2)
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
Batch Size20000Maximum number of buffered requests to be processed in a single batch. If set to zero all buffered requests are processed.
Buffer Size20000Maximum 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.

Relationships

NameDescription
successAll files are routed to success

ListenSyslog

Description

Listens for Syslog messages being sent to a given port over TCP or UDP. Incoming messages are optionally checked against regular expressions for RFC5424 and RFC3164 formatted messages. With parsing enabled the individual parts of the message will be placed as FlowFile attributes and valid messages will be transferred to success relationship, while invalid messages will be transferred to invalid relationship. With parsing disabled all message will be routed to the success relationship, but it will only contain the sender, protocol, and port attributes

Properties

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.

NameDefault ValueAllowable ValuesDescription
Listening Port514The port for Syslog communication. (Well-known ports (0-1023) require root access)
ProtocolUDPTCP
UDP
The protocol for Syslog communication.
Max Batch Size500The maximum number of Syslog events to process at a time.
Parse Messagesfalsetrue
false
Indicates if the processor should parse the Syslog messages. If set to false, each outgoing FlowFile will only contain the sender, protocol, and port, and no additional attributes.
Max Size of Message Queue10000Maximum number of Syslog messages allowed to be buffered before processing them when the processor is triggered. If the buffer is full, the message is ignored. If set to zero the buffer is unlimited.
SSL Context ServiceThe Controller Service to use in order to obtain an SSL Context. If this property is set, messages will be received over a secure connection. This Property is only considered if the Property has a value of “TCP”.
Client AuthNONENONE
WANT
REQUIRED
The client authentication policy to use for the SSL Context. Only used if an SSL Context Service is provided.

Relationships

NameDescription
successIncoming messages that match the expected format when parsing will be sent to this relationship. When Parse Messages is set to false, all incoming message will be sent to this relationship.
invalidIncoming messages that do not match the expected format when parsing will be sent to this relationship.

Output Attributes

AttributeRelationshipDescription
syslog.protocolThe protocol over which the Syslog message was received.
syslog.portThe port over which the Syslog message was received.
syslog.senderThe hostname of the Syslog server that sent the message.
syslog.validAn indicator of whether this message matched the expected formats. (requirement: parsing enabled)
syslog.priorityThe priority of the Syslog message. (requirement: parsed RFC5424/RFC3164)
syslog.severityThe severity of the Syslog message. (requirement: parsed RFC5424/RFC3164)
syslog.facilityThe facility of the Syslog message. (requirement: parsed RFC5424/RFC3164)
syslog.timestampThe timestamp of the Syslog message. (requirement: parsed RFC5424/RFC3164)
syslog.hostnameThe hostname of the Syslog message. (requirement: parsed RFC5424/RFC3164)
syslog.msgThe free-form message of the Syslog message. (requirement: parsed RFC5424/RFC3164)
syslog.versionThe version of the Syslog message. (requirement: parsed RFC5424)
syslog.app_nameThe app name of the Syslog message. (requirement: parsed RFC5424)
syslog.proc_idThe proc id of the Syslog message. (requirement: parsed RFC5424)
syslog.msg_idThe message id of the Syslog message. (requirement: parsed RFC5424)
syslog.structured_dataThe structured data of the Syslog message. (requirement: parsed RFC5424)

ListenTCP

Description

Listens for incoming TCP connections and reads data from each connection using a configurable message delimiter. For each message the processor produces a single FlowFile.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Listening PortThe port to listen on for communication.
Max Batch Size500The maximum number of messages to process at a time.
Max Size of Message Queue10000Maximum number of messages allowed to be buffered before processing them when the processor is triggered. If the buffer is full, the message is ignored. If set to zero the buffer is unlimited.
SSL Context ServiceThe Controller Service to use in order to obtain an SSL Context. If this property is set, messages will be received over a secure connection.
Client AuthNONENONE
WANT
REQUIRED
The client authentication policy to use for the SSL Context. Only used if an SSL Context Service is provided.
Message Delimiter\nThe delimiter is used to divide the stream into flowfiles.
Consume Delimitertruetrue
false
If set to true then the delimiter won't be included at the end of the resulting flowfiles.

Relationships

NameDescription
successMessages received successfully will be sent out this relationship.

Output Attributes

AttributeRelationshipDescription
tcp.portThe sending port the messages were received.
tcp.senderThe sending host of the messages.

ListenUDP

Description

Listens for incoming UDP datagrams. For each datagram the processor produces a single FlowFile.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Listening PortThe port to listen on for communication.
Max Batch Size500The maximum number of messages to process at a time.
Max Size of Message Queue10000Maximum number of messages allowed to be buffered before processing them when the processor is triggered. If the buffer is full, the message is ignored. If set to zero the buffer is unlimited.

Relationships

NameDescription
successMessages received successfully will be sent out this relationship.

Output Attributes

AttributeRelationshipDescription
udp.portThe sending port the messages were received.
udp.senderThe sending host of the messages.

ListFile

Description

Retrieves a listing of files from the local filesystem. For each file that is listed, creates a FlowFile that represents the file so that it can be fetched in conjunction with FetchFile.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Input DirectoryThe input directory from which files to pull files
Recurse Subdirectoriestruetrue
false
Indicates whether to list files from subdirectories of the directory
File FilterOnly files whose names match the given regular expression will be picked up
Path FilterWhen Recurse Subdirectories is true, then only subdirectories whose path matches the given regular expression will be scanned
Minimum File Age0 secThe 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
Maximum File AgeThe 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
Minimum File Size0 BThe minimum size that a file must be in order to be pulled
Maximum File SizeThe maximum size that a file can be in order to be pulled
Ignore Hidden Filestruetrue
false
Indicates whether or not hidden files should be ignored

Relationships

NameDescription
successAll FlowFiles that are received are routed to success

Output Attributes

AttributeRelationshipDescription
filenamesuccessThe name of the file that was read from filesystem.
pathsuccessThe path is set to the relative path of the file's directory on filesystem compared to the Input Directory property. For example, if Input Directory is set to /tmp, then files picked up from /tmp will have the path attribute set to “./”. If the Recurse Subdirectories property is set to true and a file is picked up from /tmp/abc/1/2/3, then the path attribute will be set to “abc/1/2/3/”.
absolute.pathsuccessThe absolute.path is set to the absolute path of the file's directory on filesystem. For example, if the Input Directory property is set to /tmp, then files picked up from /tmp will have the path attribute set to “/tmp/”. If the Recurse Subdirectories property is set to true and a file is picked up from /tmp/abc/1/2/3, then the path attribute will be set to “/tmp/abc/1/2/3/”.
file.ownersuccessThe user that owns the file in filesystem
file.groupsuccessThe group that owns the file in filesystem
file.sizesuccessThe number of bytes in the file in filesystem
file.permissionssuccessThe permissions for the file in filesystem. This is formatted as 3 characters for the owner, 3 for the group, and 3 for other users. For example rw-rw-r--
file.lastModifiedTimesuccessThe timestamp of when the file in filesystem was last modified as ‘yyyy-MM-dd’T‘HH:mm:ssZ’

ListGCSBucket

Description

Retrieves a listing of objects from an GCS bucket. For each object that is listed, creates a FlowFile that represents the object so that it can be fetched in conjunction with FetchGCSObject.

Properties

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.

NameDefault ValueAllowable ValuesDescription
GCP Credentials Provider ServiceThe Controller Service used to obtain Google Cloud Platform credentials. Should be the name of a GCPCredentialsControllerService.
Number of retries6How many retry attempts should be made before routing to the failure relationship.
Endpoint Override URLOverrides the default Google Cloud Storage endpoints
Supports Expression Language: true
BucketBucket of the object.
Supports Expression Language: true
List all versionsfalsetrue
false
Set this option to true to get all the previous versions separately.

Relationships

NameDescription
successFlowFiles are routed to this relationship after a successful Google Cloud Storage operation.

Output Attributes

AttributeRelationshipDescription
gcs.bucketsuccessBucket of the object.
gcs.keysuccessName of the object.
filenamesuccessSame as gcs.key
gcs.sizesuccessSize of the object.
gcs.crc32csuccessThe CRC32C checksum of object's data, encoded in base64.
gcs.md5successThe MD5 hash of the object's data, encoded in base64.
gcs.owner.entitysuccessThe owner entity, in the form “user-emailAddress”.
gcs.owner.entity.idsuccessThe ID for the entity.
gcs.content.encodingsuccessThe content encoding of the object.
gcs.content.languagesuccessThe content language of the object.
gcs.content.dispositionsuccessThe data content disposition of the object.
gcs.media.linksuccessThe media download link to the object.
gcs.self.linksuccessThe link to this object.
gcs.etagsuccessThe HTTP 1.1 Entity tag for the object.
gcs.generated.idsuccessThe service-generated ID for the object.
gcs.generationsuccessThe content generation of this object. Used for object versioning.
gcs.metagenerationsuccessThe metageneration of the object.
gcs.create.timesuccessUnix timestamp of the object's creation in milliseconds.
gcs.update.timesuccessUnix timestamp of the object's last modification in milliseconds.
gcs.delete.timesuccessUnix timestamp of the object's deletion in milliseconds.
gcs.encryption.algorithmsuccessThe algorithm used to encrypt the object.
gcs.encryption.sha256successThe SHA256 hash of the key used to encrypt the object.

ListS3

Description

This Processor retrieves a listing of objects from an Amazon S3 bucket.

Properties

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.

NameDefault ValueAllowable ValuesDescription
BucketThe S3 bucket
Supports Expression Language: true
Access KeyAWS account access key
Supports Expression Language: true
Secret KeyAWS account secret key
Sensitive Property: true
Supports Expression Language: true
Credentials FilePath to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey
AWS Credentials Provider serviceThe name of the AWS Credentials Provider controller service that is used to obtain AWS credentials.
Regionus-west-2af-south-1
ap-east-1
ap-northeast-1
ap-northeast-2
ap-northeast-3
ap-south-1
ap-south-2
ap-southeast-1
ap-southeast-2
ap-southeast-3
ca-central-1
cn-north-1
cn-northwest-1
eu-central-1
eu-central-2
eu-north-1
eu-south-1
eu-south-2
eu-west-1
eu-west-2
eu-west-3
me-central-1
me-south-1
sa-east-1
us-east-1
us-east-2
us-gov-east-1
us-gov-west-1
us-iso-east-1
us-isob-east-1
us-iso-west-1
us-west-1
us-west-2
AWS Region
Communications Timeout30 secSets the timeout of the communication between the AWS server and the client
Endpoint Override URLEndpoint 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 HostProxy host name or IP
Supports Expression Language: true
Proxy PortThe port number of the proxy host
Supports Expression Language: true
Proxy UsernameUsername to set when authenticating against proxy
Supports Expression Language: true
Proxy PasswordPassword to set when authenticating against proxy
Sensitive Property: true
Supports Expression Language: true
Use Default Credentialsfalsetrue
false
If true, uses the Default Credential chain, including EC2 instance profiles or roles, environment variables, default user credentials, etc.
DelimiterThe string used to delimit directories within the bucket. Please consult the AWS documentation for the correct use of this field.
PrefixThe prefix used to filter the object list. In most cases, it should end with a forward slash (‘/’).
Use Versionsfalsetrue
false
Specifies whether to use S3 versions, if applicable. If false, only the latest version of each object will be returned.
Minimum Object Age0 secThe 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 Tagsfalsetrue
false
If set to ‘true’, the tags associated with the S3 object will be written as FlowFile attributes.
Write User Metadatafalsetrue
false
If set to ‘true’, the user defined metadata associated with the S3 object will be added to FlowFile attributes/records.
Requester Paysfalsetrue
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.

Relationships

NameDescription
successFlowFiles are routed to success relationship

ListSFTP

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
HostnameThe fully qualified hostname or IP address of the remote system
Supports Expression Language: true
PortThe port that the remote system is listening on for file transfers
Supports Expression Language: true
UsernameUsername
Supports Expression Language: true
PasswordPassword for the user account
Sensitive Property: true
Supports Expression Language: true
Private Key PathThe fully qualified path to the Private Key file
Supports Expression Language: true
Private Key PassphrasePassword for the private key
Sensitive Property: true
Supports Expression Language: true
Strict Host Key Checkingfalsetrue
false
Indicates whether or not strict enforcement of hosts keys should be applied
Host Key FileIf supplied, the given file will be used as the Host Key; otherwise, no use host key file will be used
Connection Timeout30 secAmount of time to wait before timing out while creating a connection
Data Timeout30 secWhen 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
Send Keep Alive On Timeouttruetrue
false
Indicates whether or not to send a single Keep Alive message when SSH socket times out
Proxy TypeDIRECTDIRECT
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
Proxy HostThe fully qualified hostname or IP address of the proxy server
Supports Expression Language: true
Proxy PortThe port of the proxy server
Supports Expression Language: true
Http Proxy UsernameHttp Proxy Username
Supports Expression Language: true
Http Proxy PasswordHttp Proxy Password
Sensitive Property: true
Supports Expression Language: true
Listing StrategyTracking TimestampsTracking Timestamps
Tracking Entities
Specify how to determine new/updated entities. See each strategy descriptions for detail.
Remote PathThe fully qualified filename on the remote system
Supports Expression Language: true
Search Recursivelyfalsetrue
false
If true, will pull files from arbitrarily nested subdirectories; otherwise, will not traverse subdirectories
Follow symlinkfalsetrue
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
File Filter RegexProvides a Java Regular Expression for filtering Filenames; if a filter is supplied, only files whose names match that Regular Expression will be fetched
Path Filter RegexWhen Search Recursively is true, then only subdirectories whose path matches the given Regular Expression will be scanned
Ignore Dotted Filestruetrue
false
If true, files whose names begin with a dot (“.”) will be ignored
Target System Timestamp PrecisionAuto DetectAuto Detect
Milliseconds
Seconds
Minutes
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.
Entity Tracking Time WindowSpecify 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.
Entity Tracking Initial Listing TargetAll AvailableTracking Time Window
All Available
Specify how initial listing should be handled. Used by ‘Tracking Entities’ strategy.
Minimum File Age0 secThe 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
Maximum File AgeThe 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
Minimum File Size0 BThe minimum size that a file must be in order to be pulled
Maximum File SizeThe maximum size that a file must be in order to be pulled

Relationships

NameDescription
successAll FlowFiles that are received are routed to success

ListSmb

Description

Retrieves a listing of files from an SMB share. For each file that is listed, creates a FlowFile that represents the file so that it can be fetched in conjunction with FetchSmb.

Properties

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.

NameDefault ValueAllowable ValuesDescription
SMB Connection Controller ServiceSpecifies the SMB connection controller service to use for connecting to the SMB server. If the SMB share is auto-mounted to a drive letter, its recommended to use ListFile instead.
Input DirectoryThe input directory to list the contents of
Recurse Subdirectoriestruetrue
false
Indicates whether to list files from subdirectories of the directory
File FilterOnly files whose names match the given regular expression will be picked up
Path FilterWhen Recurse Subdirectories is true, then only subdirectories whose path matches the given regular expression will be scanned
Minimum File Age5 secThe 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
Maximum File AgeThe 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
Minimum File SizeThe minimum size that a file must be in order to be pulled
Maximum File SizeThe maximum size that a file can be in order to be pulled
Ignore Hidden Filestruetrue
false
Indicates whether or not hidden files should be ignored

Relationships

NameDescription
successAll FlowFiles that are received are routed to success

Output Attributes

AttributeRelationshipDescription
filenamesuccessThe name of the file that was read from filesystem.
pathsuccessThe path is set to the relative path of the file's directory on the remote filesystem compared to the Share root directory. For example, for a given remote location smb://HOSTNAME:PORT/SHARE/DIRECTORY, and a file is being listed from smb://HOSTNAME:PORT/SHARE/DIRECTORY/sub/folder/file then the path attribute will be set to “DIRECTORY/sub/folder”.
serviceLocationsuccessThe SMB URL of the share.
lastModifiedTimesuccessThe timestamp of when the file‘s content changed in the filesystem as ‘yyyy-MM-dd’T’HH:mm:ss'.
creationTimesuccessThe timestamp of when the file was created in the filesystem as ‘yyyy-MM-dd’T‘HH:mm:ss’.
lastAccessTimesuccessThe timestamp of when the file was accessed in the filesystem as ‘yyyy-MM-dd’T‘HH:mm:ss’.
sizesuccessThe size of the file in bytes.

LogAttribute

Description

Logs attributes of flow files in the MiNiFi application log.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Log Levelinfo
trace
error
warn
debug
The Log Level to use when logging the Attributes
Attributes to LogA comma-separated list of Attributes to Log. If not specified, all attributes will be logged.
Attributes to IgnoreA comma-separated list of Attributes to ignore. If not specified, no attributes will be ignored.
Log Payloadfalsetrue
false
If true, the FlowFile's payload will be logged, in addition to its attributes. Otherwise, just the Attributes will be logged.
Hexencode Payloadfalsetrue
false
If true, the FlowFile's payload will be logged in a hexencoded format
Maximum Payload Line Length0The logged payload will be broken into lines this long. 0 means no newlines will be added.
Log PrefixLog prefix appended to the log lines. It helps to distinguish the output of multiple LogAttribute processors.
FlowFiles To Log1Number 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.

Relationships

NameDescription
successsuccess operational on the flow record

ManipulateArchive

Description

Performs an operation which manipulates an archive without needing to split the archive into multiple FlowFiles.

Properties

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.

NameDefault ValueAllowable ValuesDescription
OperationOperation to perform on the archive (touch, remove, copy, move).
TargetAn existing entry within the archive to perform the operation on.
DestinationDestination for operations (touch, move or copy) which result in new entries.
BeforeFor operations which result in new entries, places the new entry before the entry specified by this property.
AfterFor operations which result in new entries, places the new entry after the entry specified by this property.

Relationships

NameDescription
successFlowFiles will be transferred to the success relationship if the operation succeeds.
failureFlowFiles will be transferred to the failure relationship if the operation fails.

MergeContent

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Minimum Group Size0The minimum size of for the bundle
Maximum Group SizeThe maximum size for the bundle. If not specified, there is no maximum.
Minimum Number of Entries1The minimum number of files to include in a bundle
Maximum Number of EntriesThe maximum number of files to include in a bundle. If not specified, there is no maximum.
Maximum number of Bins100Specifies the maximum number of bins that can be held in memory at any one time
Max Bin AgeThe maximum age of a Bin that will trigger a Bin to be complete. Expected format is
Batch Size1Maximum number of FlowFiles processed in a single session
Merge StrategyBin-Packing AlgorithmDefragment
Bin-Packing Algorithm
Defragment or Bin-Packing Algorithm
Merge FormatBinary ConcatenationBinary Concatenation
TAR
ZIP
FlowFile Stream, v3
Merge Format
Correlation Attribute NameCorrelation Attribute Name
Delimiter StrategyFilenameFilename
Text
Determines if Header, Footer, and Demarcator should point to files
Keep Pathfalsetrue
false
If using the Zip or Tar Merge Format, specifies whether or not the FlowFiles' paths should be included in their entry
Header FileFilename specifying the header to use
Footer FileFilename specifying the footer to use
Demarcator FileFilename specifying the demarcator to use
Attribute StrategyKeep Only Common AttributesKeep 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.

Relationships

NameDescription
failureIf the bundle cannot be created, all FlowFiles that would have been used to create the bundle will be transferred to failure
originalThe FlowFiles that were used to create the bundle
mergedThe FlowFile containing the merged content

MotionDetector

Description

Detect motion from captured images.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Image Encoding.jpg.jpg
.png
The encoding that should be applied to the output
Minimum Area100We only consider the movement regions with area greater than this.
Threshold for segmentation42Pixel greater than this will be white, otherwise black.
Dilate iteration10For image processing, if an object is detected as 2 separate objects, increase this value
Path to background frameIf not provided then the processor will take the first input frame as background

Relationships

NameDescription
successSuccessful to detect motion
failureFailure to detect motion

PerformanceDataMonitor

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Predefined GroupsComma separated list from the allowable values, to monitor multiple common Windows Performance counters related to these groups (e.g. “CPU,Network”)
Custom PDH CountersComma separated list of Windows Performance Counters to monitor (e.g. “\System\Threads,\Process(*)\ID Process”)
Output FormatJSONJSON
OpenTelemetry
Format of the created flowfiles
Output CompactnessPrettyPretty
Compact
Format of the created flowfiles
Round to decimal placesThe number of decimal places to round the values to (blank for no rounding)

Predefined Groups

Relationships

NameDescription
successAll files are routed to success

PostElasticsearch

Description

An Elasticsearch/Opensearch post processor that uses the Elasticsearch/Opensearch _bulk REST API.

Properties

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.

NameDefault ValueAllowable ValuesDescription
ActionThe type of the operation used to index (create, delete, index, update, upsert)
Supports Expression Language: true
Max Batch Size100The maximum number of flow files to process at a time.
Elasticsearch Credentials Provider ServiceThe Controller Service used to obtain Elasticsearch credentials.
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL (https) connections.
HostsA comma-separated list of HTTP hosts that host Elasticsearch query nodes. Currently only supports a single host.
Supports Expression Language: true
IndexThe name of the index to use.
Supports Expression Language: true
IdentifierIf the Action is “index” or “create”, this property may be left empty or evaluate to an empty value, in which case the document's identifier will be auto-generated by Elasticsearch. For all other Actions, the attribute must evaluate to a non-empty value.
Supports Expression Language: true

Relationships

NameDescription
successAll flowfiles that succeed in being transferred into Elasticsearch go here.
failureAll flowfiles that fail for reasons unrelated to server availability go to this relationship.
errorAll flowfiles that Elasticsearch responded to with an error go to this relationship.

ProcFsMonitor

Description

This processor can create FlowFiles with various performance data through the proc pseudo-filesystem. (Linux only)

Properties

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.

NameDefault ValueAllowable ValuesDescription
Output FormatJSONJSON
OpenTelemetry
The output type of the new flowfile
Output CompactnessPrettyCompact
Pretty
The output format of the new flowfile
Round to decimal placesThe number of decimal places to round the values to (blank for no rounding)
Result TypeAbsoluteRelative
Absolute
Absolute returns the current procfs values, relative calculates the usage between triggers

Relationships

NameDescription
successAll files are routed to success

PublishKafka

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
SSL Context ServiceSSL Context Service Name
Security Protocolplaintextplaintext
ssl
sasl_plaintext
sasl_ssl
Protocol used to communicate with brokers. Corresponds to Kafka's ‘security.protocol’ property.
Kerberos Service NameKerberos Service Name
Kerberos PrincipalKerberos Principal
Kerberos Keytab PathThe path to the location on the local filesystem where the kerberos keytab is located. Read permission on the file is required.
SASL MechanismGSSAPIGSSAPI
PLAIN
The SASL mechanism to use for authentication. Corresponds to Kafka's ‘sasl.mechanism’ property.
UsernameThe username when the SASL Mechanism is sasl_plaintext
PasswordThe password for the given username when the SASL Mechanism is sasl_plaintext
Sensitive Property: true
Known BrokersA comma-separated list of known Kafka Brokers in the format :
Supports Expression Language: true
Topic NameThe Kafka Topic of interest
Supports Expression Language: true
Delivery Guarantee1Specifies 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
Max Request SizeMaximum Kafka protocol request message size
Request Timeout10 secThe ack timeout of the producer request
Message Timeout30 secThe total time sending a message could take
Client NameClient Name to use when communicating with Kafka
Supports Expression Language: true
Batch Size10Maximum number of messages batched in one MessageSet
Target Batch Payload Size512 KBThe target total payload size for a batch. 0 B means unlimited (Batch Size is still applied).
Attributes to Send as HeadersAny attribute whose name matches the regex will be added to the Kafka messages as a Header
Queue Buffering Max Time5 millisDelay to wait for messages in the producer queue to accumulate before constructing message batches
Queue Max Buffer Size1 MBMaximum total message size sum allowed on the producer queue
Queue Max Message1000Maximum number of messages allowed on the producer queue
Compress Codecnonenone
gzip
snappy
compression codec to use for compressing message sets
Max Flow Segment Size0 BMaximum flow content payload segment size for the kafka record. 0 B means unlimited.
Security CADEPRECATED in favor of SSL Context Service. File or directory path to CA certificate(s) for verifying the broker's key
Security CertDEPRECATED in favor of SSL Context Service.Path to client's public key (PEM) used for authentication
Security Private KeyDEPRECATED in favor of SSL Context Service.Path to client's private key (PEM) used for authentication
Security Pass PhraseDEPRECATED in favor of SSL Context Service.Private key passphrase
Sensitive Property: true
Kafka KeyThe 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 FieldDEPRECATED, does not work -- use Kafka Key instead
Debug contextsA 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
Fail empty flow filestruetrue
false
Keep backwards compatibility with <=0.7.0 bug which caused flow files with empty content to not be published to Kafka and forwarded to failure. The old behavior is deprecated. Use connections to drop empty flow files!

Relationships

NameDescription
successAny FlowFile that is successfully sent to Kafka will be routed to this Relationship
failureAny FlowFile that cannot be sent to Kafka will be routed to this Relationship

PublishMQTT

Description

PublishMQTT serializes FlowFile content as an MQTT payload, sending the message to the configured topic and broker.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Broker URIThe URI to use to connect to the MQTT broker
Client IDMQTT client ID to use. WARNING: Must not be empty when using MQTT 3.1.0!
MQTT Version3.x AUTO3.x AUTO
3.1.0
3.1.1
5.0
The MQTT specification version when connecting to the broker.
TopicThe topic to publish to.
Supports Expression Language: true
Retainfalsetrue
false
Retain published message in broker
Message Expiry IntervalTime while message is valid and will be forwarded by broker. MQTT 5.x only.
Content TypeContent type of the message. MQTT 5.x only.
Supports Expression Language: true
Quality of Service00
1
2
The Quality of Service (QoS) of messages.
Connection Timeout10 secMaximum time interval the client will wait for the network connection to the MQTT broker
Keep Alive Interval60 secDefines the maximum time interval between messages sent or received
Last Will TopicThe topic to send the client's Last Will to. If the Last Will topic is not set then a Last Will will not be sent
Last Will MessageThe message to send as the client's Last Will. If the Last Will Message is empty, Last Will will be deleted from the broker
Last Will QoS00
1
2
The Quality of Service (QoS) to send the last will with.
Last Will Retainfalsetrue
false
Whether to retain the client's Last Will
Last Will Content TypeContent type of the client's Last Will. MQTT 5.x only.
UsernameUsername to use when connecting to the broker
PasswordPassword to use when connecting to the broker
Sensitive Property: true
Security ProtocolProtocol used to communicate with brokers
Security CAFile or directory path to CA certificate(s) for verifying the broker's key
Security CertPath to client's public key (PEM) used for authentication
Security Private KeyPath to client's private key (PEM) used for authentication
Security Pass PhrasePrivate key passphrase
Sensitive Property: true

Relationships

NameDescription
successFlowFiles that are sent successfully to the destination are transferred to this relationship
failureFlowFiles that failed to be sent to the destination are transferred to this relationship

PushGrafanaLokiGrpc

Description

A Grafana Loki push processor that uses the Grafana Loki Grpc port. The processor expects each flow file to contain a single log line to be pushed to Grafana Loki, therefore it is usually used together with the TailFile processor.

Properties

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.

NameDefault ValueAllowable ValuesDescription
UrlUrl of the Grafana Loki server. For example localhost:3100.
Stream LabelsComma separated list of = labels to be sent as stream labels.
Log Line Metadata AttributesComma separated list of attributes to be sent as log line metadata for a log line.
Tenant IDThe tenant ID used by default to push logs to Grafana Loki. If omitted or empty it assumes Grafana Loki is running in single-tenant mode and no X-Scope-OrgID header is sent.
Max Batch Size100The maximum number of flow files to process at a time. If it is set to 0, all FlowFiles will be processed at once.
Log Line Batch WaitTime to wait before sending a log line batch to Grafana Loki, full or not. If this property and Log Line Batch Size are both unset, the log batch of the current trigger will be sent immediately.
Log Line Batch SizeNumber of log lines to send in a batch to Loki. If this property and Log Line Batch Wait are both unset, the log batch of the current trigger will be sent immediately.
Connection Timeout5 sMax wait time for connection to the Grafana Loki service.
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL (https) connections.
Keep Alive TimeThe period after which a keepalive ping is sent on the transport. If not set, then the keep alive is disabled.
Keep Alive TimeoutThe amount of time the sender of the keepalive ping waits for an acknowledgement. If it does not receive an acknowledgment within this time, it will close the connection. If not set, then the default value 20 seconds is used.
Max Pings Without DataThe maximum number of pings that can be sent when there is no data/header frame to be sent. gRPC Core will not continue sending pings if we run over the limit. Setting it to 0 allows sending pings without such a restriction. If not set, then the default value 2 is used.

Relationships

NameDescription
successAll flowfiles that succeed in being transferred into Grafana Loki go here.
failureIf a submitted request fails all flow files in the batch are transferred to this relationship.

PushGrafanaLokiREST

Description

A Grafana Loki push processor that uses the Grafana Loki REST API. The processor expects each flow file to contain a single log line to be pushed to Grafana Loki, therefore it is usually used together with the TailFile processor.

Properties

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.

NameDefault ValueAllowable ValuesDescription
UrlUrl of the Grafana Loki server. For example http://localhost:3100/.
Stream LabelsComma separated list of = labels to be sent as stream labels.
Log Line Metadata AttributesComma separated list of attributes to be sent as log line metadata for a log line.
Tenant IDThe tenant ID used by default to push logs to Grafana Loki. If omitted or empty it assumes Grafana Loki is running in single-tenant mode and no X-Scope-OrgID header is sent.
Max Batch Size100The maximum number of flow files to process at a time. If it is set to 0, all FlowFiles will be processed at once.
Log Line Batch WaitTime to wait before sending a log line batch to Grafana Loki, full or not. If this property and Log Line Batch Size are both unset, the log batch of the current trigger will be sent immediately.
Log Line Batch SizeNumber of log lines to send in a batch to Loki. If this property and Log Line Batch Wait are both unset, the log batch of the current trigger will be sent immediately.
Connection Timeout5 sMax wait time for connection to the Grafana Loki service.
Read Timeout15 sMax wait time for response from remote service.
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL (https) connections.
UsernameUsername for authenticating using basic authentication.
PasswordPassword for authenticating using basic authentication.
Sensitive Property: true
Bearer Token FilePath of file containing bearer token for bearer token authentication.

Relationships

NameDescription
successAll flowfiles that succeed in being transferred into Grafana Loki go here.
failureIf a submitted request fails all flow files in the batch are transferred to this relationship.

PutAzureBlobStorage

Description

Puts content into an Azure Storage Blob

Properties

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.

NameDefault ValueAllowable ValuesDescription
Azure Storage Credentials ServiceName of the Azure Storage Credentials Service used to retrieve the connection string from.
Container NameName 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 NameThe storage account name.
Supports Expression Language: true
Storage Account KeyThe 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.
Sensitive Property: true
Supports Expression Language: true
SAS TokenShared Access Signature token. Specify either SAS Token (recommended) or Storage Account Key together with Storage Account Name if Managed Identity is not used.
Sensitive Property: true
Supports Expression Language: true
Common Storage Account Endpoint SuffixStorage 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 StringConnection 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
Use Managed Identity Credentialsfalsetrue
false
If true Managed Identity credentials will be used together with the Storage Account Name for authentication.
BlobThe filename of the blob. If left empty the filename attribute will be used by default.
Supports Expression Language: true
Create Containerfalsetrue
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.

Relationships

NameDescription
successAll successfully processed FlowFiles are routed to this relationship
failureUnsuccessful operations will be transferred to the failure relationship

PutAzureDataLakeStorage

Description

Puts content into an Azure Data Lake Storage Gen 2

Properties

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.

NameDefault ValueAllowable ValuesDescription
Azure Storage Credentials ServiceName of the Azure Storage Credentials Service used to retrieve the connection string from.
Filesystem NameName of the Azure Storage File System. It is assumed to be already existing.
Supports Expression Language: true
Directory NameName 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 NameThe filename in Azure Storage. If left empty the filename attribute will be used by default.
Supports Expression Language: true
Conflict Resolution Strategyfailfail
replace
ignore
Indicates what should happen when a file with the same name already exists in the output directory.

Relationships

NameDescription
successFiles that have been successfully written to Azure storage are transferred to this relationship
failureFiles that could not be written to Azure storage for some reason are transferred to this relationship

PutFile

Description

Writes the contents of a FlowFile to the local file system

Properties

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.

NameDefault ValueAllowable ValuesDescription
PermissionsSets 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 PermissionsSets 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.
Directory.The output directory to which to put files
Supports Expression Language: true
Conflict Resolution Strategyfailfail
replace
ignore
Indicates what should happen when a file with the same name already exists in the output directory
Create Missing DirectoriestrueIf true, then missing destination directories will be created. If false, flowfiles are penalized and sent to failure.
Maximum File Count-1Specifies the maximum number of files that can exist in the output directory

Relationships

NameDescription
successAll files are routed to success
failureFailed files (conflict, write failure, etc.) are transferred to failure

PutGCSObject

Description

Puts flow files to a Google Cloud Storage Bucket.

Properties

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.

NameDefault ValueAllowable ValuesDescription
GCP Credentials Provider ServiceThe Controller Service used to obtain Google Cloud Platform credentials. Should be the name of a GCPCredentialsControllerService.
Number of retries6How many retry attempts should be made before routing to the failure relationship.
Endpoint Override URLOverrides the default Google Cloud Storage endpoints
Supports Expression Language: true
Bucket${gcs.bucket}Bucket of the object.
Supports Expression Language: true
Key${filename}Name of the object.
Supports Expression Language: true
Content Type${mime.type}Content Type for the file, i.e. text/plain
Supports Expression Language: true
MD5 HashMD5 Hash (encoded in Base64) of the file for server-side validation.
Supports Expression Language: true
CRC32C ChecksumCRC32C Checksum (encoded in Base64, big-Endian order) of the file for server-side validation.
Supports Expression Language: true
Server Side Encryption KeyAn AES256 Encryption Key (encoded in base64) for server-side encryption of the object.
Sensitive Property: true
Supports Expression Language: true
Object ACLauthenticatedRead
bucketOwnerFullControl
bucketOwnerRead
private
projectPrivate
publicRead
publicReadWrite
Access Control to be attached to the object uploaded. Not providing this will revert to bucket defaults.
Overwrite Objecttruetrue
false
If false, the upload to GCS will succeed only if the object does not exist.

Relationships

NameDescription
successFiles that have been successfully written to Google Cloud Storage are transferred to this relationship
failureFiles that could not be written to Google Cloud Storage for some reason are transferred to this relationship

Output Attributes

AttributeRelationshipDescription
gcs.status.messagefailureThe status message received from google cloud.
gcs.error.reasonfailureThe description of the error occurred during upload.
gcs.error.domainfailureThe domain of the error occurred during upload.
gcs.bucketsuccessBucket of the object.
gcs.keysuccessName of the object.
gcs.sizesuccessSize of the object.
gcs.crc32csuccessThe CRC32C checksum of object's data, encoded in base64.
gcs.md5successThe MD5 hash of the object's data, encoded in base64.
gcs.owner.entitysuccessThe owner entity, in the form “user-emailAddress”.
gcs.owner.entity.idsuccessThe ID for the entity.
gcs.content.encodingsuccessThe content encoding of the object.
gcs.content.languagesuccessThe content language of the object.
gcs.content.dispositionsuccessThe data content disposition of the object.
gcs.media.linksuccessThe media download link to the object.
gcs.self.linksuccessThe link to this object.
gcs.etagsuccessThe HTTP 1.1 Entity tag for the object.
gcs.generated.idsuccessThe service-generated ID for the object.
gcs.generationsuccessThe content generation of this object. Used for object versioning.
gcs.metagenerationsuccessThe metageneration of the object.
gcs.create.timesuccessUnix timestamp of the object's creation in milliseconds.
gcs.update.timesuccessUnix timestamp of the object's last modification in milliseconds.
gcs.delete.timesuccessUnix timestamp of the object's deletion in milliseconds.
gcs.encryption.algorithmsuccessThe algorithm used to encrypt the object.
gcs.encryption.sha256successThe SHA256 hash of the key used to encrypt the object.

PutOPCProcessor

Description

Creates/updates OPC nodes

Properties

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.

NameDefault ValueAllowable ValuesDescription
OPC server endpointSpecifies the address, port and relative path of an OPC endpoint
Application URIApplication 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.
UsernameUsername to log in with.
PasswordPassword to log in with.
Sensitive Property: true
Certificate pathPath to the DER-encoded cert file
Key pathPath to the DER-encoded key file
Trusted server certificate pathPath to the DER-encoded trusted server certificate
Parent node ID typePath
Int
String
Specifies the type of the provided node ID
Parent node IDSpecifies the ID of the root node to traverse
Parent node namespace index0The index of the namespace. Used only if node ID type is not path.
Value typeInt64
UInt64
Int32
UInt32
Boolean
Float
Double
String
Set the OPC value type of the created nodes
Target node ID typeID type of target node. Allowed values are: Int, String.
Supports Expression Language: true
Target node IDID of target node.
Supports Expression Language: true
Target node browse nameBrowse name of target node. Only used when new node is created.
Supports Expression Language: true
Target node namespace indexThe index of the namespace. Used only if node ID type is not path.
Supports Expression Language: true

Relationships

NameDescription
successSuccessfully put OPC-UA node
failureFailed to put OPC-UA node

PutS3Object

Description

Puts FlowFiles to an Amazon S3 Bucket. The upload uses either the PutS3Object method or the PutS3MultipartUpload method. The PutS3Object method sends the file in a single synchronous call, but it has a 5GB size limit. Larger files are sent using the PutS3MultipartUpload method. This multipart process saves state after each step so that a large upload can be resumed with minimal loss if the processor or cluster is stopped and restarted. A multipart upload consists of three steps: 1) initiate upload, 2) upload the parts, and 3) complete the upload. For multipart uploads, the processor saves state locally tracking the upload ID and parts uploaded, which must both be provided to complete the upload. 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. It also requires that parts in a multipart upload must be at least 5MB in size, except for the last part. These limits establish the bounds for the Multipart Upload Threshold and Part Size properties.

Properties

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.

NameDefault ValueAllowable ValuesDescription
BucketThe S3 bucket
Supports Expression Language: true
Access KeyAWS account access key
Supports Expression Language: true
Secret KeyAWS account secret key
Sensitive Property: true
Supports Expression Language: true
Credentials FilePath to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey
AWS Credentials Provider serviceThe name of the AWS Credentials Provider controller service that is used to obtain AWS credentials.
Regionus-west-2af-south-1
ap-east-1
ap-northeast-1
ap-northeast-2
ap-northeast-3
ap-south-1
ap-south-2
ap-southeast-1
ap-southeast-2
ap-southeast-3
ca-central-1
cn-north-1
cn-northwest-1
eu-central-1
eu-central-2
eu-north-1
eu-south-1
eu-south-2
eu-west-1
eu-west-2
eu-west-3
me-central-1
me-south-1
sa-east-1
us-east-1
us-east-2
us-gov-east-1
us-gov-west-1
us-iso-east-1
us-isob-east-1
us-iso-west-1
us-west-1
us-west-2
AWS Region
Communications Timeout30 secSets the timeout of the communication between the AWS server and the client
Endpoint Override URLEndpoint 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 HostProxy host name or IP
Supports Expression Language: true
Proxy PortThe port number of the proxy host
Supports Expression Language: true
Proxy UsernameUsername to set when authenticating against proxy
Supports Expression Language: true
Proxy PasswordPassword to set when authenticating against proxy
Sensitive Property: true
Supports Expression Language: true
Use Default Credentialsfalsetrue
false
If true, uses the Default Credential chain, including EC2 instance profiles or roles, environment variables, default user credentials, etc.
Object KeyThe key of the S3 object. If none is given the filename attribute will be used by default.
Supports Expression Language: true
Content Typeapplication/octet-streamSets 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
Storage ClassStandardStandard
ReducedRedundancy
StandardIA
OnezoneIA
IntelligentTiering
Glacier
DeepArchive
AWS S3 Storage Class
Server Side EncryptionNoneNone
AES256
aws_kms
Specifies the algorithm used for server side encryption.
FullControl User ListA 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 ListA 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 ListA 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 ListA 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
Canned ACLAmazon Canned ACL for an object. Allowed values: BucketOwnerFullControl, BucketOwnerRead, AuthenticatedRead, PublicReadWrite, PublicRead, Private, AwsExecRead; will be ignored if any other ACL/permission property is specified.
Supports Expression Language: true
Use Path Style Accessfalsetrue
false
Path-style access can be enforced by setting this property to true. Set it to true if your endpoint does not support virtual-hosted-style requests, only path-style requests.
Multipart Threshold5 GBSpecifies the file size threshold for switch from the PutS3Object API to the PutS3MultipartUpload API. Flow files bigger than this limit will be sent using the multipart process. The valid range is 5MB to 5GB.
Multipart Part Size5 GBSpecifies the part size for use when the PutS3Multipart Upload API is used. Flow files will be broken into chunks of this size for the upload process, but the last part sent can be smaller since it is not padded. The valid range is 5MB to 5GB.
Multipart Upload AgeOff Interval60 minSpecifies the interval at which existing multipart uploads in AWS S3 will be evaluated for ageoff. When processor is triggered it will initiate the ageoff evaluation if this interval has been exceeded.
Multipart Upload Max Age Threshold7 daysSpecifies the maximum age for existing multipart uploads in AWS S3. When the ageoff process occurs, any upload older than this threshold will be aborted.

Relationships

NameDescription
successFlowFiles are routed to success relationship
failureFlowFiles are routed to failure relationship

PutSFTP

Description

Sends FlowFiles to an SFTP Server

Properties

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.

NameDefault ValueAllowable ValuesDescription
HostnameThe fully qualified hostname or IP address of the remote system
Supports Expression Language: true
PortThe port that the remote system is listening on for file transfers
Supports Expression Language: true
UsernameUsername
Supports Expression Language: true
PasswordPassword for the user account
Sensitive Property: true
Supports Expression Language: true
Private Key PathThe fully qualified path to the Private Key file
Supports Expression Language: true
Private Key PassphrasePassword for the private key
Sensitive Property: true
Supports Expression Language: true
Strict Host Key Checkingfalsetrue
false
Indicates whether or not strict enforcement of hosts keys should be applied
Host Key FileIf supplied, the given file will be used as the Host Key; otherwise, no use host key file will be used
Connection Timeout30 secAmount of time to wait before timing out while creating a connection
Data Timeout30 secWhen 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
Send Keep Alive On Timeouttruetrue
false
Indicates whether or not to send a single Keep Alive message when SSH socket times out
Proxy TypeDIRECTDIRECT
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
Proxy HostThe fully qualified hostname or IP address of the proxy server
Supports Expression Language: true
Proxy PortThe port of the proxy server
Supports Expression Language: true
Http Proxy UsernameHttp Proxy Username
Supports Expression Language: true
Http Proxy PasswordHttp Proxy Password
Sensitive Property: true
Supports Expression Language: true
Remote PathThe path on the remote system from which to pull or push files
Supports Expression Language: true
Create Directoryfalsetrue
false
Specifies whether or not the remote directory should be created if it does not exist.
Disable Directory Listingfalsetrue
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.
Batch Size500The maximum number of FlowFiles to send in a single connection
Conflict ResolutionNONEREPLACE
IGNORE
RENAME
REJECT
FAIL
NONE
Determines how to handle the problem of filename collisions
Reject Zero-Byte Filestruetrue
false
Determines whether or not Zero-byte files should be rejected without attempting to transfer
Dot Renametruetrue
false
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.
Temporary FilenameIf 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
Last Modified TimeThe 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
PermissionsThe 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
Remote OwnerInteger 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 GroupInteger 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
Use Compressionfalsetrue
false
Indicates whether or not ZLIB compression should be used when transferring files

Relationships

NameDescription
successFlowFiles that are successfully sent will be routed to success
rejectFlowFiles that were rejected by the destination system
failureFlowFiles that failed to send to the remote system; failure is usually looped back to this processor

PutSmb

Description

Writes the contents of a FlowFile to an smb network location

Properties

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.

NameDefault ValueAllowable ValuesDescription
SMB Connection Controller ServiceSpecifies the SMB connection controller service to use for connecting to the SMB server. If the SMB share is auto-mounted to a drive letter, its recommended to use PutFile instead.
Directory.The output directory to which to put files
Supports Expression Language: true
Conflict Resolution Strategyfailfail
replace
ignore
Indicates what should happen when a file with the same name already exists in the output directory
Create Missing DirectoriestrueIf true, then missing destination directories will be created. If false, flowfiles are penalized and sent to failure.

Relationships

NameDescription
successAll files are routed to success
failureFailed files (conflict, write failure, etc.) are transferred to failure

PutSplunkHTTP

Description

Sends the flow file contents to the specified Splunk HTTP Event Collector (see https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/UsetheHTTPEventCollector) over HTTP or HTTPS.

The “Source”, “Source Type”, “Host” and “Index” properties are optional and will be set by Splunk if unspecified. If set, the default values will be overwritten with the user specified ones. For more details about the Splunk API, please visit this documentation

HTTP Event Collector (HEC) in Splunk provides the possibility of index acknowledgement, which can be used to monitor the indexing status of the individual events. PutSplunkHTTP supports this feature by enriching the outgoing flow file with the necessary information, making it possible for a later processor to poll the status based on. The necessary information for this is stored within flow file attributes “splunk.acknowledgement.id” and “splunk.responded.at”.

For more refined processing, flow files are enriched with additional information if possible. The information is stored in the flow file attribute “splunk.status.code” or “splunk.response.code”, depending on the success of the processing. The attribute “splunk.status.code” is always filled when the Splunk API call is executed and contains the HTTP status code of the response. In case the flow file transferred into “failure” relationship, the “splunk.response.code” might be also filled, based on the Splunk response code.

Properties

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.

NameDefault ValueAllowable ValuesDescription
HostnameThe ip address or hostname of the Splunk server.
Port8088The HTTP Event Collector HTTP Port Number.
TokenHTTP Event Collector token starting with the string Splunk. For example ‘Splunk 1234578-abcd-1234-abcd-1234abcd’
Sensitive Property: true
Splunk Request ChannelIdentifier of the used request channel.
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL (https) connections.
SourceBasic field describing the source of the event. If unspecified, the event will use the default defined in splunk.
Supports Expression Language: true
Source TypeBasic field describing the source type of the event. If unspecified, the event will use the default defined in splunk.
Supports Expression Language: true
HostBasic field describing the host of the event. If unspecified, the event will use the default defined in splunk.
Supports Expression Language: true
IndexIdentifies the index where to send the event. If unspecified, the event will use the default defined in splunk.
Supports Expression Language: true
Content TypeThe media type of the event sent to Splunk. If not set, “mime.type” flow file attribute will be used. In case of neither of them is specified, this information will not be sent to the server.
Supports Expression Language: true

Relationships

NameDescription
successFlowFiles that are sent successfully to the destination are sent to this relationship.
failureFlowFiles that failed to be sent to the destination are sent to this relationship.

PutSQL

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
DB Controller ServiceDatabase Controller Service.
Supports Expression Language: true
SQL StatementThe 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.
Supports Expression Language: true

Relationships

NameDescription
successAfter a successful SQL update operation, the incoming FlowFile sent here
failureFlow files that contain malformed sql statements

PutTCP

Description

The PutTCP processor receives a FlowFile and transmits the FlowFile content over a TCP connection to the configured TCP server. By default, the FlowFiles are transmitted over the same TCP connection. To assist the TCP server with determining message boundaries, an optional “Outgoing Message Delimiter” string can be configured which is appended to the end of each FlowFiles content when it is transmitted over the TCP connection. An optional “Connection Per FlowFile” parameter can be specified to change the behaviour so that each FlowFiles content is transmitted over a single TCP connection which is closed after the FlowFile has been sent. Note: When using TLS 1.3 the processor can still route the flow file to success if the TLS handshake fails. This is due to TLS 1.3's faster handshake process which allows the message to be sent before we know the result of the TLS handshake.

Properties

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.

NameDefault ValueAllowable ValuesDescription
HostnamelocalhostThe ip address or hostname of the destination.
Supports Expression Language: true
PortThe port or service on the destination.
Supports Expression Language: true
Idle Connection Expiration15 secondsThe amount of time a connection should be held open without being used before closing the connection. A value of 0 seconds will disable this feature.
Supports Expression Language: true
Timeout15 secondsThe timeout for connecting to and communicating with the destination.
Supports Expression Language: true
Connection Per FlowFilefalsetrue
false
Specifies whether to send each FlowFile's content on an individual connection.
Outgoing Message DelimiterSpecifies the delimiter to use when sending messages out over the same TCP stream. The delimiter is appended to each FlowFile message that is transmitted over the stream so that the receiver can determine when one message ends and the next message begins. Users should ensure that the FlowFile content does not contain the delimiter character to avoid errors.
Supports Expression Language: true
SSL Context ServiceThe Controller Service to use in order to obtain an SSL Context. If this property is set, messages will be sent over a secure connection.
Max Size of Socket Send BufferThe maximum size of the socket send buffer that should be used. This is a suggestion to the Operating System to indicate how big the socket buffer should be.

Relationships

NameDescription
successFlowFiles that are sent to the destination are sent out this relationship.
failureFlowFiles that encountered IO errors are sent out this relationship.

PutUDP

Description

The PutUDP processor receives a FlowFile and packages the FlowFile content into a single UDP datagram packet which is then transmitted to the configured UDP server. The processor doesn't guarantee a successful transfer, even if the flow file is routed to the success relationship.

Properties

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.

NameDefault ValueAllowable ValuesDescription
HostnamelocalhostThe ip address or hostname of the destination.
Supports Expression Language: true
PortThe port on the destination. Can be a service name like ssh or http, as defined in /etc/services.
Supports Expression Language: true

Relationships

NameDescription
successFlowFiles that are sent to the destination are sent out this relationship.
failureFlowFiles that encountered IO errors are sent out this relationship.

QueryDatabaseTable

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
DB Controller ServiceDatabase Controller Service.
Supports Expression Language: true
Output FormatJSON-PrettyJSON
JSON-Pretty
Set the output format type.
Supports Expression Language: true
Max Rows Per Flow File0The 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.
Supports Expression Language: true
Table NameThe name of the database table to be queried.
Supports Expression Language: true
Columns to ReturnA 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.
Supports Expression Language: true
Maximum-value ColumnsA 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. This processor can be used to retrieve only those rows that have been added/updated since the last retrieval. Note that some ODBC types such as bit/boolean are not conducive to maintaining maximum value, so columns of these types should not be listed in this property, and will result in error(s) during processing. If no columns are provided, all rows from the table will be considered, which could have a performance impact. NOTE: It is important to use consistent max-value column names for a given table for incremental fetch to work properly. NOTE: Because of a limitation of database access library ‘soci’, which doesn‘t support milliseconds in it’s ‘dt_date’, there is a possibility that flowfiles might have duplicated records, if a max-value column with ‘dt_date’ type has value with milliseconds.
Supports Expression Language: true
Where ClauseA custom clause to be added in the WHERE condition when building SQL queries.
Supports Expression Language: true

Dynamic Properties

NameValueDescription
initial.maxvalue.<max_value_column>Initial maximum value for the specified columnSpecifies 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

Relationships

NameDescription
successSuccessfully created FlowFile from SQL query result set.

QuerySplunkIndexingStatus

Description

Queries the Splunk server in order to acquire the status of indexing acknowledgement.

This processor is responsible for polling Splunk server and determine if a Splunk event is acknowledged at the time of execution. For more details about the HEC Index Acknowledgement please see https://docs.splunk.com/Documentation/Splunk/LATEST/Data/AboutHECIDXAck.

In order to work properly, the incoming flow files need to have the attributes “splunk.acknowledgement.id” and “splunk.responded.at” filled properly. The flow file attribute “splunk.acknowledgement.id” should contain the “ackId” which can be extracted from the response to the original Splunk put call. The flow file attribute “splunk.responded.at” should contain the timestamp describing when the put call was answered by Splunk. These required attributes are set by PutSplunkHTTP processor.

Undetermined cases are normal in healthy environment as it is possible that minifi asks for indexing status before Splunk finishes and acknowledges it. These cases are safe to retry, and it is suggested to loop “undetermined” relationship back to the processor for later try. Flow files transferred into the “Undetermined” relationship are penalized.

Please keep Splunk channel limitations in mind: there are multiple configuration parameters in Splunk which might have direct effect on the performance and behaviour of the QuerySplunkIndexingStatus processor. For example “max_number_of_acked_requests_pending_query” and “max_number_of_acked_requests_pending_query_per_ack_channel” might limit the amount of ackIDs Splunk stores.

Also, it is suggested to execute the query in batches. The “Maximum Query Size” property might be used for fine tune the maximum number of events the processor will query about in one API request. This serves as an upper limit for the batch but the processor might execute the query with smaller number of undetermined events.

Properties

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.

NameDefault ValueAllowable ValuesDescription
HostnameThe ip address or hostname of the Splunk server.
Port8088The HTTP Event Collector HTTP Port Number.
TokenHTTP Event Collector token starting with the string Splunk. For example ‘Splunk 1234578-abcd-1234-abcd-1234abcd’
Sensitive Property: true
Splunk Request ChannelIdentifier of the used request channel.
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL (https) connections.
Maximum Waiting Time1 hourThe maximum time the processor tries to acquire acknowledgement confirmation for an index, from the point of registration. After the given amount of time, the processor considers the index as not acknowledged and transfers the FlowFile to the “unacknowledged” relationship.
Maximum Query Size1000The maximum number of acknowledgement identifiers the outgoing query contains in one batch. It is recommended not to set it too low in order to reduce network communication.

Relationships

NameDescription
acknowledgedA FlowFile is transferred to this relationship when the acknowledgement was successful.
unacknowledgedA FlowFile is transferred to this relationship when the acknowledgement was not successful. This can happen when the acknowledgement did not happened within the time period set for Maximum Waiting Time. FlowFiles with acknowledgement id unknown for the Splunk server will be transferred to this relationship after the Maximum Waiting Time is reached.
undeterminedA FlowFile is transferred to this relationship when the acknowledgement state is not determined. FlowFiles transferred to this relationship might be penalized. This happens when Splunk returns with HTTP 200 but with false response for the acknowledgement id in the flow file attribute.
failureA FlowFile is transferred to this relationship when the acknowledgement was not successful due to errors during the communication, or if the flowfile was missing the acknowledgement id

ReplaceText

Description

Updates the content of a FlowFile by replacing parts of it using various replacement strategies.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Evaluation ModeLine-by-LineLine-by-Line
Entire text
Run the ‘Replacement Strategy’ against each line separately (Line-by-Line) or against the whole input treated as a single string (Entire Text).
Line-by-Line Evaluation ModeAllAll
First-Line
Last-Line
Except-First-Line
Except-Last-Line
Run the ‘Replacement Strategy’ against each line separately (Line-by-Line) for All lines in the FlowFile, First Line (Header) only, Last Line (Footer) only, all Except the First Line (Header) or all Except the Last Line (Footer).
Replacement StrategyRegex ReplacePrepend
Append
Regex Replace
Literal Replace
Always Replace
Substitute Variables
The strategy for how and what to replace within the FlowFile‘s text content. Substitute Variables replaces ${attribute_name} placeholders with the corresponding attribute’s value (if an attribute is not found, the placeholder is kept as it was).
Search ValueThe Search Value to search for in the FlowFile content. Only used for ‘Literal Replace’ and ‘Regex Replace’ matching strategies. Supports expression language except in Regex Replace mode.
Supports Expression Language: true
Replacement ValueThe value to insert using the ‘Replacement Strategy’. Using ‘Regex Replace’ back-references to Regular Expression capturing groups are supported: $& is the entire matched substring, $1, $2, ... are the matched capturing groups. Use $$1 for a literal $1. Back-references to non-existent capturing groups will be replaced by empty strings. Supports expression language except in Regex Replace mode.
Supports Expression Language: true

Relationships

NameDescription
successFlowFiles that have been successfully processed are routed to this relationship. This includes both FlowFiles that had text replaced and those that did not.
failureFlowFiles that could not be updated are routed to this relationship.

RetryFlowFile

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Retry Attributeflowfile.retriesThe 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 Retries3The maximum number of times a FlowFile can be retried before being passed to the ‘retries_exceeded’ relationship.
Supports Expression Language: true
Penalize Retriestruetrue
false
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 Overwritefalsetrue
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 ModeFail on ReuseFail 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.

Dynamic Properties

NameValueDescription
Exceeded FlowFile Attribute KeyThe value of the attribute added to the FlowFileOne or more dynamic properties can be used to add attributes to FlowFiles passed to the ‘retries_exceeded’ relationship.
Supports Expression Language: true

Relationships

NameDescription
retryInput FlowFile has not exceeded the configured maximum retry count, pass this relationship back to the input Processor to create a limited feedback loop.
retries_exceededInput FlowFile has exceeded the configured maximum retry count, do not pass this relationship back to the input Processor to terminate the limited feedback loop.
failureThe 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.

Output Attributes

AttributeRelationshipDescription
Retry AttributeUser defined retry attribute is updated with the current retry count
Retry Attribute .uuidUser defined retry attribute with .uuid suffix is updated with the UUID of the processor that retried the FlowFile last

RouteOnAttribute

Description

Routes FlowFiles based on their Attributes using the Attribute Expression Language.

Any number of user-defined dynamic properties can be added, which all support the Attribute Expression Language. Relationships matching the name of the properties will be added. FlowFiles will be routed to all the relationships whose matching property evaluates to “true”. Unmatched FlowFiles will be routed to the “unmatched” relationship, while failed ones to “failure”.

Properties

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.

NameDefault ValueAllowable ValuesDescription

Relationships

NameDescription
unmatchedFiles which do not match any expression are routed here
failureFailed files are transferred to failure

RouteText

Description

Routes textual data based on a set of user-defined rules. Each segment in an incoming FlowFile is compared against the values specified by user-defined Properties. The mechanism by which the text is compared to these user-defined properties is defined by the ‘Matching Strategy’. The data is then routed according to these rules, routing each segment of the text individually.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Routing StrategyDynamic RoutingDynamic Routing
Route On All
Route On Any
Specifies how to determine which Relationship(s) to use when evaluating the segments of incoming text against the ‘Matching Strategy’ and user-defined properties. ‘Dynamic Routing’ routes to all the matching dynamic relationships (or ‘unmatched’ if none matches). ‘Route On All’ routes to ‘matched’ iff all dynamic relationships match. ‘Route On Any’ routes to ‘matched’ iff any of the dynamic relationships match.
Matching StrategyStarts With
Ends With
Contains
Equals
Matches Regex
Contains Regex
Satisfies Expression
Specifies how to evaluate each segment of incoming text against the user-defined properties. Possible values are: ‘Starts With’, ‘Ends With’, ‘Contains’, ‘Equals’, ‘Matches Regex’, ‘Contains Regex’, ‘Satisfies Expression’.
Ignore Leading/Trailing Whitespacetruetrue
false
Indicates whether or not the whitespace at the beginning and end should be ignored when evaluating a segment.
Ignore Casefalsetrue
false
If true, capitalization will not be taken into account when comparing values. E.g., matching against ‘HELLO’ or ‘hello’ will have the same result. This property is ignored if the ‘Matching Strategy’ is set to ‘Satisfies Expression’.
Grouping Regular ExpressionSpecifies a Regular Expression to evaluate against each segment to determine which Group it should be placed in. The Regular Expression must have at least one Capturing Group that defines the segment's Group. If multiple Capturing Groups exist in the Regular Expression, the values from all Capturing Groups will be joined together with ", ". Two segments will not be placed into the same FlowFile unless they both have the same value for the Group (or neither matches the Regular Expression). For example, to group together all lines in a CSV File by the first column, we can set this value to “(.?),.” (and use “Per Line” segmentation). Two segments that have the same Group but different Relationships will never be placed into the same FlowFile.
Grouping Fallback ValueIf the ‘Grouping Regular Expression’ is specified and the matching fails, this value will be considered the group of the segment.
Segmentation StrategyPer LineFull Text
Per Line
Specifies what portions of the FlowFile content constitutes a single segment to be processed. ‘Full Text’ considers the whole content as a single segment, ‘Per Line’ considers each line of the content as a separate segment

Dynamic Properties

NameValueDescription
Relationship Namevalue to match againstRoutes data that matches the value specified in the Dynamic Property Value to the Relationship specified in the Dynamic Property Key.
Supports Expression Language: true

Relationships

NameDescription
originalThe original input file will be routed to this destination
unmatchedSegments that do not satisfy the required user-defined rules will be routed to this Relationship
matchedSegments that satisfy the required user-defined rules will be routed to this Relationship

Output Attributes

AttributeRelationshipDescription
RouteText.GroupThe value captured by all capturing groups in the ‘Grouping Regular Expression’ property. If this property is not set, this attribute will not be added.

SourceInitiatedSubscriptionListener

Description

This processor implements a Windows Event Forwarding Source Initiated Subscription server with the help of OpenWSMAN. Windows hosts can be set up to connect and forward Event Logs to this processor.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Listen HostnameThe hostname or IP of this machine that will be advertised to event sources to connect to. It must be contained as a Subject Alternative Name in the server certificate, otherwise source machines will refuse to connect.
Listen Port5986The port to listen on.
Subscription Manager Path/wsman/SubscriptionManager/WECThe URI path that will be used for the WEC Subscription Manager endpoint.
Subscriptions Base Path/wsman/subscriptionsThe URI path that will be used as the base for endpoints serving individual subscriptions.
SSL CertificateFile containing PEM-formatted file including TLS/SSL certificate and key. The root CA of the certificate must be the CA set in SSL Certificate Authority.
SSL Certificate AuthorityFile containing the PEM-formatted CA that is the root CA for both this server‘s certificate and the event source clients’ certificates.
SSL Verify Peertruetrue
false
Whether or not to verify the client's certificate
XPath XML Query
<Select Path="Application">*</Select>

Relationships

NameDescription
successAll Events are routed to success

TailEventLog

Description

Windows event log reader that functions as a stateful tail of the provided windows event log name

Properties

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.

NameDefault ValueAllowable ValuesDescription
Log SourceLog Source from which to read events
Max Events Per FlowFile1Events per flow file

Relationships

NameDescription
successAll files, containing log events, are routed to success

SplitText

Description

Splits a text file into multiple smaller text files on line boundaries limited by maximum number of lines or total size of fragment. Each output split file will contain no more than the configured number of lines or bytes. If both Line Split Count and Maximum Fragment Size are specified, the split occurs at whichever limit is reached first. If the first line of a fragment exceeds the Maximum Fragment Size, that line will be output in a single split file which exceeds the configured maximum size limit. This component also allows one to specify that each split should include a header lines. Header lines can be computed by either specifying the amount of lines that should constitute a header or by using header marker to match against the read lines. If such match happens then the corresponding line will be treated as header. Keep in mind that upon the first failure of header marker match, no more matches will be performed and the rest of the data will be parsed as regular lines for a given split. If after computation of the header there are no more data, the resulting split will consists of only header lines.

Properties

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.

NameDefault ValueAllowable ValuesDescription
Line Split CountThe number of lines that will be added to each split file, excluding header lines. A value of zero requires Maximum Fragment Size to be set, and line count will not be considered in determining splits.
Maximum Fragment SizeThe maximum size of each split file, including header lines. NOTE: in the case where a single line exceeds this property (including headers, if applicable), that line will be output in a split of its own which exceeds this Maximum Fragment Size setting.
Header Line Count0The number of lines that should be considered part of the header; the header lines will be duplicated to all split files.
Header Line Marker CharactersThe first character(s) on the line of the datafile which signifies a header line. This value is ignored when Header Line Count is non-zero. The first line not containing the Header Line Marker Characters and all subsequent lines are considered non-header
Remove Trailing Newlinestruetrue
false
Whether to remove newlines at the end of each split file. This should be false if you intend to merge the split files later. If this is set to ‘true’ and a FlowFile is generated that contains only ‘empty lines’ (i.e., consists only of \r and \n characters), the FlowFile will not be emitted. Note, however, that if header lines are specified, the resultant FlowFile will never be empty as it will consist of the header lines, so a FlowFile may be emitted that contains only the header lines.

Relationships

NameDescription
failureIf a file cannot be split for some reason, the original file will be routed to this destination and nothing will be routed elsewhere
originalThe original input file will be routed to this destination when it has been successfully split into 1 or more files
splitsThe split files will be routed to this destination when an input file is successfully split into 1 or more split files

Output Attributes

AttributeRelationshipDescription
text.line.countThe number of lines of text from the original FlowFile that were copied to this FlowFile (does not count empty lines)
fragment.sizeThe number of bytes from the original FlowFile that were copied to this FlowFile, including header, if applicable, which is duplicated in each split FlowFile
fragment.identifierAll split FlowFiles produced from the same parent FlowFile will have the same randomly generated UUID added for this attribute
fragment.indexA one-up number that indicates the ordering of the split FlowFiles that were created from a single parent FlowFile
fragment.countThe number of split FlowFiles generated from the parent FlowFile
segment.original.filenameThe filename of the parent FlowFile

TailFile

Description

“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’.

Properties

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.

NameDefault ValueAllowable ValuesDescription
File to TailFully-qualified filename of the file that should be tailed when using single file mode, or a file regex when using multifile mode
State FileTailFileStateDEPRECATED. Only use it for state migration from the legacy state file.
Input Delimiter\nSpecifies 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.
tail-modeSingle fileSingle 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.
tail-base-directoryBase directory used to look for files to tail. This property is required when using Multiple file mode. Can contain expression language placeholders if Attribute Provider Service is set.
Supports Expression Language: true
Recursive lookupfalsetrue
false
When using Multiple file mode, this property determines whether files are tailed in child directories of the Base Directory or not.
Lookup frequency10 minWhen using Multiple file mode, this property specifies the minimum duration the processor will wait between looking for new files to tail in the Base Directory.
Rolling Filename Pattern${filename}.*If the file to tail “rolls over” as would be the case with log files, this filename pattern will be used to identify files that have rolled over so MiNiFi can read the remaining of the rolled-over file and then continue with the new log file. This pattern supports the wildcard characters * and ?, it also supports the notation ${filename} to specify a pattern based on the name of the file (without extension), and will assume that the files that have rolled over live in the same directory as the file being tailed.
Initial Start PositionBeginning of FileBeginning 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.
Attribute Provider ServiceProvides a list of key-value pair records which can be used in the Base Directory property using Expression Language. Requires Multiple file mode.
Batch Size0Maximum number of flowfiles emitted in a single trigger. If set to 0 all new content will be processed.

Relationships

NameDescription
successAll files are routed to success

UnfocusArchiveEntry

Description

Restores a FlowFile which has had an archive entry focused via FocusArchiveEntry to its original state.

Properties

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.

NameDefault ValueAllowable ValuesDescription

Relationships

NameDescription
successsuccess operational on the flow record

UpdateAttribute

Description

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.

Properties

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.

NameDefault ValueAllowable ValuesDescription

Relationships

NameDescription
successAll files are routed to success
failureFailed files are transferred to failure