Member since
09-08-2019
9
Posts
2
Kudos Received
0
Solutions
09-10-2019
07:59 AM
1 Kudo
Found the solution! Just needed to apply the regex (?:"b":.\w+?)(\d+) thanks to @Shu_ashu
... View more
09-09-2019
10:41 AM
how can I extracttext specific key and value from json data ? { "key1" : "value1", "key2" : "value2", "key3" : "value3", } I would like to apply the extraxttext on Key2 and its value only.
... View more
Labels:
- Labels:
-
Apache NiFi
09-09-2019
09:53 AM
1 Kudo
I have an event { "a":"avc123.abc.com", "b":"24 - ny", "c" : "21321kodi" } i would like to use extracttext to filter/extract only the "b" however, it is picking up the first match. How can I specify to extract text from field "b" only not "a" neither "c"
... View more
Labels:
- Labels:
-
Apache NiFi
09-09-2019
08:15 AM
@Shu_ashu I will wait for your response my friend. Thanks!
... View more
09-09-2019
06:27 AM
How about when i have multiple fields such as { "x":"avc123.abc.com", "z":"24 - ny" } and I would like to only targer "x" value for "123" and the rest won't get affected such as "z" so the expected output would be { "x":"avc123.abc.com", "z":"24 - ny", "y":"123" } Please note that the "y" value only targeted the "x" and the z shouldn't be picked up?
... View more
09-09-2019
05:51 AM
@Shu_ashu Thank you very much! You saved the day for me.
... View more
09-08-2019
02:23 PM
I have a JSON data coming as {"x":"avc123.abc.com"} I would like to have a processor in nifi to extract only the integer (123) from the entire value and output it from the process
secondly, I would like that integer value (123) to be added in the JSON event with different keys such as the final JSON event would be {"x":"avc123.abc.com" "y":"123" }
I already tried routetext and extract text but it didn't work.
... View more
Labels:
- Labels:
-
Apache NiFi