Member since
06-26-2017
191
Posts
10
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1912 | 09-22-2017 07:13 PM |
11-09-2017
07:40 PM
1 Kudo
@Shu I checked again, the regex \n+\s+ does not remove the first line if it is blank, other than that it replaces all the blank lines, even if there are empty lines in the end, trying your regex for removing first blank line Thanks again
... View more
11-09-2017
12:39 AM
yeah i know is not very intuitive 🙂
... View more
11-08-2017
01:31 PM
@Andy LoPresto Thanks a lot, appreciate it
... View more
11-07-2017
09:23 PM
You're welcome... one more option is to use ExecuteScript to run a simple processor that reads a flow file line by line and only writes out the lines with length > 0.
... View more
11-06-2017
11:39 PM
@dhieru singh You can get directory structure from path attribute associated with the flow file, path //The fully qualified name of the directory on the SFTP Server from which the file was pulled. Filename attribute will give you the actual file name that got pulled from the directory filename //The name of the file on the SFTP Server in Fetchsftp processor we are going to use ${path}/${filename} //to fetch the actual file this expression will give directory and also file path. if you give top level directory and Recurse Subdirectories property to true the processor will navigate through all the subdirectories are in that top level directory(if nifi having access to those sub directories) and list all the files in those sub directories. Each flowfile will have path,filename attribute as path attribute gives you from which directory the file got pulled from and filename attribute gives you actual filename of the file.
... View more
11-01-2017
04:01 PM
@Shu Appreciate your help This is as clear an explanation as it can get Thanks again
... View more
10-30-2017
09:00 PM
@Matt Clarke Thanks for the response, yes I set the max timer driven event count to 40. I might have to increase it. I will set the number of flow files to 15000 to 20000 and I shold also set the max age, so that no flow files are lingering on, will comeback with results. Thanks Dheeru
... View more
10-30-2017
08:32 PM
1 Kudo
@dhieru singh Min number of entries must be set and defaults to 1. That is fine as long as you don't set max num entries. You are correct it is (min number of entries AND min group size) OR max number of entries OR max group size. So either of the "max " settings will force a merge just like max bin age will.
... View more