Member since
06-08-2017
1049
Posts
518
Kudos Received
312
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 11194 | 04-15-2020 05:01 PM | |
| 7092 | 10-15-2019 08:12 PM | |
| 3088 | 10-12-2019 08:29 PM | |
| 11403 | 09-21-2019 10:04 AM | |
| 4299 | 09-19-2019 07:11 AM |
06-21-2019
12:50 PM
Thank you! I was searching for the same thing and wondering why that was not working... I simply added the single quotes and now that's ok.
... View more
03-20-2018
05:00 AM
@Shu
Yes you are right that the processor is still running. when i restart nifi and revise my script, nifi works fine. Thank you!
... View more
03-19-2018
03:44 AM
@Kok Ching Hoo Even you don't need to use jolt transform processor to get only the entry array as the flow file content. We can achieve the same result by using split json processor in more easy way. Configure split json processor as JsonPath Expression $.*.*.*.* By using above json path expression it doesn't matter even if header value changed,array entry has been changed to entry1,exit ... etc until you are having same structure of the json message(same dependency will be applicable by using jolt also), this method will work we are going to split the array it self and then use the splits relation to connect to the next processors. If you want to do dynamically without any dependencies on the attribute names that are going to be defined in the incoming json message/object then go with this approach.
... View more
03-16-2018
01:34 PM
@Pavan M Could you please see my edited answer. let me know if you still having issues ..
... View more
03-17-2018
10:08 AM
1 Kudo
@Pavan M As you are not transferring any of the flowfiles to REL_FAILURE, Transfer the else flowfiles to failure relation and auto terminate the failure relation, else:
session.transfer(flowFile, REL_FAILURE) Auto terminate failure relation (or) You can use session.remove to remove the flowfile else: session.remove(flowFile) by using any of the above ways you can achieve same result as you are expecting.
... View more
03-16-2018
12:55 PM
@hema moger Yes, you are right. Once you successfully fetch any file from sftp server then data provenance will be updated accordingly.
... View more
03-27-2018
08:39 AM
@Shu Hello 😄 from the other side XD Am so grateful sir , you helped me out !!
Thanks a lot :D
I highly recommend you
... View more
03-13-2018
02:43 PM
I guess you need to drop these expressions one at a time. Using multiple ReplaceText processors. For example for the first pattern, you can use the replace text as follows. Similarly, you can replace your patterns in the "Search Value" text box with following expressions. (?s)(\\\"\[)
(?s)(\\) Hope that helps!
... View more
03-14-2018
08:47 AM
@Shu Appreciate your efforts.
... View more
03-09-2018
04:30 PM
Thanks for the response @Shu, I will try the options suggested by you and will get back.
... View more