Creates FlowFiles from files in a directory. NiFi will ignore files it doesn't have at least read permissions for.
Tags: local, files, filesystem, ingest, ingress, get, source, input
Properties:
In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
Name | Description | Default Value | Valid Values | EL | Sensitive |
---|---|---|---|---|---|
Input Directory | The input directory from which to pull files | Yes | No | ||
File Filter | Only files whose names match the given regular expression will be picked up | [^\.].* | No | No | |
Path Filter | When Recurse Subdirectories is true, then only subdirectories whose path matches the given regular expression will be scanned | No | No | ||
Batch Size | The maximum number of files to pull in each iteration | 10 | No | No | |
Keep Source File | If true, the file is not deleted after it has been copied to the Content Repository; this causes the file to be picked up continually and is useful for testing purposes. If not keeping original NiFi will need write permissions on the directory it is pulling from otherwise it will ignore the file. | false |
| No | No |
Recurse Subdirectories | Indicates whether or not to pull files from subdirectories | true |
| No | No |
Polling Interval | Indicates how long to wait before performing a directory listing | 0 sec | No | No | |
Ignore Hidden Files | Indicates whether or not hidden files should be ignored | true |
| No | No |
Minimum File Age | The minimum age that a file must be in order to be pulled; any file younger than this amount of time (according to last modification date) will be ignored | 0 sec | No | No | |
Maximum File Age | The maximum age that a file must be in order to be pulled; any file older than this amount of time (according to last modification date) will be ignored | No | No | ||
Minimum File Size | The minimum size that a file must be in order to be pulled | 0 B | No | No | |
Maximum File Size | The maximum size that a file can be in order to be pulled | No | No |
Relationships:
Name | Description |
---|---|
success | All files are routed to success |