Member since
03-01-2024
8
Posts
8
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
145 | 04-04-2024 12:13 AM | |
284 | 03-18-2024 09:51 PM |
04-21-2024
12:54 AM
1 Kudo
Hi, I want to change the flowfile content (json format) using UpdateRecord by providing property (to be change) from attribute. Here is the flowfile content here is the flowfile attribute I want to change the value of "id" in flowfile content using UpdateRecords like this : ( WHICH IS NOT WORKING ) This works but add a new property to existing flow file Here "id" got change because i provided "/id" (hardcoded property name) , i need same functionality to work with "/${col_name}" Any Pointers ... ????? Thanks, Riyaz
... View more
Labels:
- Labels:
-
Apache NiFi
04-04-2024
12:13 AM
1 Kudo
I got the Solution. Use UpdateAttribute processor and Expression Language. Here "SignedURL" is the attribute (containing complex Json) and from that I fetch particular Key value using Expression Language (JSONPATH)
... View more
04-04-2024
12:08 AM
1 Kudo
@saquibsk Thanks for Reply. Solution you have provided will work with content of flow file and not with the attribute. EvaluateJsonPath is use to evaluate the JSON present in flow file content. In my case , I have JSON present as attribute and not as content of flow file.
... View more
03-30-2024
12:00 AM
1 Kudo
How to Evaluate attribute (output of Invoke Http which is in JSON format) This attribute value contain a Json in the following format { location : { FileSource : "X" , URL : "Y"} } From this attribute value (Json), I need to extract File Source and URL and put it into another attribute with the same name. Note : Flow file Content should remain as it is. Any Pointer ..??
... View more
Labels:
- Labels:
-
Apache NiFi
03-27-2024
12:20 AM
I am using GenerateTableFetch processor ( nifi 2.0) , with following configuration Max_column is "ID" and in some cases it is "UPDATE_DATETIME" This configuration is working fine. But for Partition size > 0 , I am getting no results. No error message in Logs Any Pointer ..??
... View more
Labels:
- Labels:
-
Apache NiFi
03-18-2024
09:51 PM
3 Kudos
I am able to solve the problem Access token Rest API generates two token (check under cookies) - Secure-Request-Token and other is Secure-Authorization-Bearer token. While calling any of the other API (like creating Parameter Context or updating Parameter context) - in Headers provide one more header "Request-Token" with the value of _secure-Request-Token (From cookies).
... View more
03-12-2024
10:55 PM
1 Kudo
@ckumar Yes , i am able to do the changes via Nifi UI. Note : I have created the user user using following command : nifi.cmd set-single-user-credentials username password
... View more
03-11-2024
10:22 PM
Hello All, I am using Nifi 2.0 I want to update existing Parameter Context using Nifi API. For that , following API is used https://localhost:8443/nifi-api/parameter-contexts/2ddc0cea-018e-1000-3852-3611d730f705/update-requests Where "2ddc0cea-018e-1000-3852-3611d730f705" is the Id of parameter context. Issue : I tried to update the ParameterContext using https://localhost:8443/nifi-api/parameter-contexts/2ddc0cea-018e-1000-3852-3611d730f705/update-requests but its throwing 403 error . I updated the Request with token (Bearer) but still getting the same error. Any Pointers..?? Thanks, Riyaz
... View more
Labels:
- Labels:
-
Apache NiFi