Member since
08-23-2022
16
Posts
0
Kudos Received
0
Solutions
03-07-2023
08:28 AM
Hi , I have a requirement where I need to pass the AWS Signature authorization type to fetch the data from an api. Pls help me how to built it. Thanks
... View more
Labels:
- Labels:
-
Apache NiFi
03-04-2023
12:29 AM
Hi , please help me out in achieving the expected output in Jolt Input: { "kind": "bresponse", "schema": { "fields": [ { "name": "export_time", "type": "STRING", "mode": "NULLABLE" }, { "name": "account_id", "type": "STRING", "mode": "NULLABLE" }, { "name": "cost", "type": "FLOAT", "mode": "NULLABLE" } ] }, "jobReference": { "projectId": "avach", "jobId": "job_G4hQs", "location": "ui" }, "totalRows": "49", "pageToken": "BG123", "rows": [ { "f": [ { "v": "20230" }, { "v": "0107F6-7" }, { "v": "0.0" } ] }, { "f": [ { "v": "20230101" }, { "v": "01DC85-B" }, { "v": "3.48E-4" } ] } ], "totalBytesProcessed": "37472", "jobComplete": true, "cacheHit": false } Expected output: [{ "export_time": "20230", "account_id": "0107F6-7", "cost": "0.0" }, { "export_time": "20230101", "account_id": "01DC85-B", "cost": "3.48E-4" }]
... View more
Labels:
- Labels:
-
Apache NiFi
02-11-2023
10:54 AM
Hi Team, pls help me out wit this jolt specification. pls help me Note : 1.Resourcename is lastelement of resourceid ...which is new varaiable we need to add to expected out 2.Tags field needs to be copied and splited as mentioned in expected output. Input: [ { "ResourceId": "/subscriptions/bb842437aa4/resourceGroups/ECHLABHENKEL/providers/Microsoft.Compute/virtualMachines/pmoapps", "Tags": "Name\": \"PMOapplication\",\"Owner\": \"Breil sathish" }, { "ResourceId": "/subscriptions/bb842437aa4/resourceGroups/HCLTECHLABHENKEL/providers/Microsoft.Compute/virtualMachines/pmoapps", "Tags": "Name\": \"PMOapplication\",\"Owner\": \"Breil sathish1" } ] Expected Output: [ { "ResourceId": "/subscriptions/bb842437aa4/resourceGroups/ECHLABHENKEL/providers/Microsoft.Compute/virtualMachines/pmoapps", "Tags": "Name\": \"PMOapplication\",\"Owner\": \"Breil sathish", "Resourcename": "pmoapps", "Name": "PMOapplication", "Owner": "Breil sathish" }, { "ResourceId": "/subscriptions/bb842437aa4/resourceGroups/HCTlembvs/providers/Microsoft.Compute/virtualMachines/pmoapps", "Tags": "Name\": \"PMOapplication\",\"Owner\": \"Breil sathish1", "Resourcename": "pmoapps", "Name": "PMOapplication", "Owner": "Breil sathish1" } ] Thanks
... View more
Labels:
- Labels:
-
Apache NiFi
10-27-2022
04:40 AM
Hi, I am using HandleHttpRequest processor, using the listen port we are fetching information and next i have added routeOnattribute for authorization but authorization is in plain text format how do i make it sensitive which means hide the authenticated value.I am attaching pictures of processors.1.On first picture I have added one property which is http.headers.Authorization in HANDLEHTTPREQUEST processor, for the authorization in RouteOnAttribute processor, 2.On second picture ROUTEONATTRIBUTE processor, (Basic test123)it is in plain text format how to make this sensitive which means how to hide authorization token, 3. Overall connection view .please help me out. HTTPHandleRequest processor RouteOnAttribute Overall connection
... View more
Labels:
- Labels:
-
Apache NiFi
10-25-2022
08:06 AM
I am using the parameter contest in that their is parameter, which is a sensitive parameter and i need to call in routeOnattribute for our requirement. how can i achieve this calling the sensitive parameter from parameterContests.Please help me out. Thanks
... View more
Labels:
- Labels:
-
Apache NiFi
10-12-2022
08:34 AM
Hi, input: { "tags": [ { "tag": "component", "value": "memory" }, { "tag": "class", "value": "os" }, { "tag": "target", "value": "linux" } ] } Expected output: The tag component value should be assigned to parameter field. { "parameter": "memory" } Please help me out.
... View more
Labels:
- Labels:
-
Apache NiFi
10-12-2022
03:21 AM
how we can use listenhttp processor for securing the NiFi url with username and password for post data on nifi.
... View more
Labels:
- Labels:
-
Apache NiFi
09-29-2022
03:22 AM
Hi, how do we import the template on NiFi canvas using API or NiFi CLI. Thanks, sathish
... View more
Labels:
- Labels:
-
Apache NiFi
09-19-2022
10:21 PM
I am working on jolt transforms processor in apache nifi, I am facing some issue pls help me out. Input: { "resourceid": "d6315d4d7f0c", "timestamp": [ 166406, 166404, 166504 ], "Key": [ "mem", "net", "diskspace" ], "data": [ 89, 90, 91 ] } Expected output: [ { "resourceid": "d6315d4d7f0c", "timestamp": 166406, "Key": "mem", "data": 89 }, { "resourceid": "d6315d4d7f0c", "timestamp": 166404, "Key": "net", "data": 90 }, { "resourceid": "d6315d4d7f0c", "timestamp": 166504, "Key": "diskspace", "data": 91 } ]
... View more
Labels:
- Labels:
-
Apache NiFi
09-12-2022
03:42 AM
Hello , I am working on jolt transforms processor, my input is: { "dataSourceName": "Standard CPU Utilization Network Cisco", "dataPoints": [ "CPU1min", "CPU5min", "MemoryFree", "MemoryUsed", "MemoryTotal" ], "instances": { "Standard CPU Utilization Network Cisco-NPE400 0 Index9": { "values": [ [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], "time": [ 1662618899000, 1662618839000, 1662618779000, 1662618719000, 1662618659000, 1662618599000, 1662618539000, 1662615570000, 1662615510000, 1662615450000, 1662615390000 ] } } } Condition: The requirement is we need to use if else statement like if [datasourcename] == Standard CPU Utilization Network Cisco then Expected output: { “Datasourcename” : “Standard CPU Utilization Network Cisco”, “Datapoints” : "MemoryFree", “Parametername” : “Standard CPU Utilization Network Cisco-NPE400 0 Index9” “Datas”: values[3], } How can I achieve using jolt transforms processor, Pls help me out.
... View more
Labels:
- Labels:
-
Apache NiFi
09-08-2022
11:45 PM
Hi , I am working on jolt transforms processor, my input is: { "dataSourceName": "Standard CPU Utilization Network Cisco", "dataPoints": [ "CPU1min", "CPU5min", "MemoryFree", "MemoryUsed", "MemoryTotal" ], "instances": { "Standard CPU Utilization Network Cisco-NPE400 0 Index9": { "values": [ [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], [ "No Data", "No Data", "No Data", "No Data", "No Data" ], "time": [ 1662618899000, 1662618839000, 1662618779000, 1662618719000, 1662618659000, 1662618599000, 1662618539000, 1662615570000, 1662615510000, 1662615450000, 1662615390000 ] } } } Condition: The requirement is we need to use if else statement like if [datasourcename] == Standard CPU Utilization Network Cisco then Expected output: { “Datasourcename” : “Standard CPU Utilization Network Cisco”, “Datapoints” : "MemoryFree", “Parametername” : “Standard CPU Utilization Network Cisco-NPE400 0 Index9” “Datas”: values[3], } How can I achieve using jolt transforms processor, Pls help me out.
... View more
Labels:
- Labels:
-
Apache NiFi
08-30-2022
02:09 AM
Hi, Input is getting from jolt transforms and data is something like : { "dv_sys_id" : [ "23ec0223138d73006877", "983f853edb2c77007166f", "6a3d0a23138d73006877b3", "805d5339db8dd050f66" ] } output should go in invokehttp processor somthing like: dv_sys_id: 23ec0223138d73006877, 983f853edb2c77007166f, 6a3d0a23138d73006877b3, 805d5339db8dd050f66 remote url : https://<url>${dv_sys_id} How can i achieve this requirement, Pls help me out.
... View more
- Tags:
- jolt tranforms
- NiFi
Labels:
- Labels:
-
Apache NiFi
08-26-2022
11:52 PM
Thanks for your help @SAMSAL
... View more
08-23-2022
10:50 PM
Hello, The flow is using invoke http processor I will fetch the data from api and inother part the data we are pulling from another api sending the data to ouput port, now using input port I am pulling the data and there is common field which is id, using the id from both apis we need to merge the data that is requirement, I will tell you the flow in diagrammatic way.
... View more
08-23-2022
03:51 AM
Hello, I am working on one of the tasks in Nifi and I am stuck on of the issue, the issue is I am getting the Json data from jolt transforms processor and also I am getting the Json data from input port processor now the issue is I need to combine the data from two processor based on id’s. How to combined the data from two processors based on common id ? Will you please help me out. Thanks, Sathish
... View more
- Tags:
- json
- NiFi
- processors
Labels:
- Labels:
-
Apache NiFi