Member since
07-10-2018
3
Posts
0
Kudos Received
0
Solutions
07-11-2018
10:08 AM
ok, so couldn't get the solution to work using the scan attribute processor with the dictionary even if I put the exact file name in the dictionary! I removed UUID for test purposes so was left with just TestPrint.tar.gz, However, the RoueOnAttribute processor worked for my purposes nicely so will go with that and tackle dictionaries at some point in the future. Paul
... View more
07-10-2018
04:27 PM
Ah yes, and the flow file name is: 837c9563-a138-446a-bb86-29763e60b95eTestPrint.tar.gz Where 837c9563-a138-446a-bb86-29763e60b95e is the UUID - added to make the flow file ID unique. Necessary for the bigger picture I am working on.
... View more
07-10-2018
04:20 PM
Hi, I have been searching but the information by way of examples is a little thin on the ground (for me anyway) to make much headway. Simply put I have a flow that decompresses a zipped file (tar.gz) - actually double compressed as this is the format i receive it in. Sometime the file is corrupt which I can detect by following the failure path. However, I wish to put the failures into a 'Failure' folder for checking at a later time. The problem is some file in the flow are regular zip files and i want to ignore those. So I am using scan attribute processor and using regular expressions to match the discitionary. the dictionary text file just contains: /.*.tar.gz/ (do I need the back slashes here?) The properties are set: Dictionary File: D:\NIFI\nifi-1.6.0\Dictionary\Matches.txt Attribute Pattern: .* Match Criteria: At least 1 must match Dictionary Filter Pattern: empty string set Is there something I am missing here? I have tried varies changes to the above but still not getting a match! Thanks, Paul
... View more
Labels:
- Labels:
-
Apache NiFi