Member since
11-25-2020
8
Posts
2
Kudos Received
0
Solutions
03-24-2021
03:23 PM
1 Kudo
What are the column names in your table? Assuming "carId" and "carType", you can use JoltTransformJson or JoltTransformRecord with the following spec: [ { "operation": "shift", "spec": { "*": { "$": "carId", "@": "carType" } } }, { "operation": "shift", "spec": { "carId": { "*": { "@": "[&0].carId" } }, "carType": { "*": { "@": "[&0].carType" } } } } ]
... View more
02-23-2021
07:12 AM
1 Kudo
I have downloaded 10,000 processor flows. It could be your local workstation or firewall. Also for future notice, templates will be removed. Please use NiFi registry. https://www.datainmotion.dev/2019/11/nifi-toolkit-cli-for-nifi-110.html https://www.datainmotion.dev/2020/10/automating-building-migration-backup.html
... View more
02-14-2021
12:23 AM
Hi @mburgess Can you please elaborate on which property needs to be configured in the GrokReader controller service for using the kv filter? I'm trying to parse the incoming key=value pair. Input: key1=value1,key2=value2,key3=value3,key4=value4 output: I need key1, key2, key3, key4 as attributes and their respective values as attribute values I can use %{GREEDYDATA:msgbody} in the GrokExpression property but I do not know where to provide kv { source = "msgbody" } Your help is appreciated
... View more
02-08-2021
07:49 AM
1 Kudo
Grok is Grok. Find Grok expressions that work for you and use a grok tester https://stackoverflow.com/questions/38462630/logstash-grok-filter-key-value-pairs http://grokconstructor.appspot.com/do/match#result https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-record-serialization-services-nar/1.5.0/org.apache.nifi.grok.GrokReader/additionalDetails.html
... View more