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