Member since
05-29-2019
6
Posts
0
Kudos Received
0
Solutions
10-13-2022
12:28 PM
You can use EvaluateJsonPath. You only have to add an extra attribute and name it as you want (e.g. count) and set as value "$.my.array.size.length()". Then select Destination and change it to flowfile-attribute. This processor will produce a flowfile which has your extra attribute
... View more
09-08-2021
11:06 AM
1 Kudo
@patrick_hochste There is nothing built in that can help with this task. The challenges here: 1. A user who can copy and paste a PG can also modify that PG before ti gets started (like change the PG name). 2. The created PG and all the containing components are assigned new unique UUIDs. The log will use these new UUIDs when component is started. 3. How do you distinguish between a PG that is copied and one that is being created new? 4. How do you distinguish between a PG that is being started after it was stopped versus starting a brand new copied PG? 5. A copied PG will get a copy of all components and their current configuration. Since you reference setting up an ew DB, does that mean changes to some components configurations? ------ While there is nothing built in to NiFi that can help you trigger based on a copy, paste, and start of a PG, if you could automate the entire process externally via a script, you could build a controlled and structured copy and paste capability. Keep in mind that anything you can do from directly within the NiFi UI, you can also accomplish via the NiFi Rest API. This flexibility would allow you to automate the copy of an existing PG, the pasting of that PG, modifying of that copied PG, and any other external scripted requirements. If you found the provided response(s) assisted with your query, please take a moment to login and click on "Accept as Solution" below each solution that helped you. Thank you, Matt
... View more
10-02-2020
01:23 AM
Hello, Suddenly few processors in NiFi is not recording the data provenance information of its runs. Could you please let me know what are the checks to be done to check this issue? Thank you in advance
... View more