Questions tagged [nifi-api]

13 questions
3
votes
1 answer

nifi-api: List all processors with their configuration

I want to list all my ListenHTTP processor URLs so I can select and kick off different flows. Is it possible with Nifi API query to list all processors with their configuration (in my case looking to get 'Base Path' and 'Listening Port') ? Looking…
gary
  • 425
  • 5
  • 20
3
votes
1 answer

Accessing lineage of a NiFi flow file

I'm developing some kind of error handling for flow files for NiFi, e.g. a database sub-system refuses to write the data from a flow file, because the data is not as expected, because the source system of this data is missing some master data. So…
Simon Linder
  • 3,378
  • 4
  • 32
  • 49
1
vote
1 answer

Nifi 1.16.3 fails to start when changing sensitive.props.key value

We're encountering some errors when starting Nifi 1.16.3 after calling encrypt-config.sh in a secure environment. For background, Nifi is deployed and managed using an in-house deployment product, and is used as a component within our application…
Mvfm
  • 31
  • 4
0
votes
0 answers

Error 403 Forbidden while trying to create or update processor using apache nifi-api

I'm trying to create processor with nifi-api using postman. And have some problems to get access to create or update operations with processor. I'm running apache nifi as docker container (latest version).I'm just running latest version of nifi on…
0
votes
0 answers

Clear/delete non-default properties of a processor with the NiFi REST API?

I am using requests in python and am sending a PUT request to https://nifi:/nifi-api/processors/{my-processor-id}, where pid is the id of the processor to be modified: modify = requests.put(f"{nifi_api_url}/processors/{pid}", proxies=proxies,…
qwert9988
  • 118
  • 13
0
votes
0 answers

Can you use Nifi's REST API to query/pull back just one JSON field?

I'm tuning a Nifi flow that gathers metrics on other InvokeHTTP processors elsewhere within the same Nifi instance. The trouble I'm running into is the volume of the data that is pulled back is massive (576 KB/processor). I'd like to hit Nifi APIs…
Sc2048
  • 1
0
votes
0 answers

Nifi API Authentication - Access Token

I'm attempting to collect details about all processors on two installed instances of Nifi, versions 1.19.0 and 1.20.0. I want to use Nifi to do this so I can perform some minor ETLs and save the resultant dataset in a database. Both instances are…
Marc
  • 3
  • 2
0
votes
0 answers

NiFi Registry setting with SSL and LDAP

We have NiFi and Registry with LDAP authorization. While updating Flow version via regestry-api this error appears: Failed to register flow with Flow Registry due to Error creating snapshot: Untrusted proxy [CN=192.168.199.87, OU=NIFI] for write…
Alan M
  • 25
  • 4
0
votes
0 answers

Access nifi-api with Azure Active Directory Token

Is there any way to do authentication via REST calls (/nifi-api) on a NiFi instance protected by Azure Active Directory? I have NiFi configured so that it is possible to successfully authenticate through the UI with Azure Active Directory…
0
votes
1 answer

Critical section in NiFi. Access Token management

I am looking for a way to create a critical section in Apache NiFi. What I mean by that is to create a group of processors in which a single FlowFile would be processed exclusively - the next FlowFile would be picked up for processing from a queue…
benji__
  • 47
  • 3
  • 9
0
votes
1 answer

Is there a NiFi API to read the Processor History?

I am using NiFi API to build a custom application. I am unable to find an API that captures the processor history in a format as shown below. Does anyone know if this API exists? I have tried many of the API's here, but it's not obvious any of…
Jason D
  • 1,863
  • 2
  • 16
  • 30
0
votes
1 answer

Nifi API: Is it possible to delete one specific element in a flowfile queue?

Looking through the nifi API docs : https://nifi.apache.org/docs/nifi-docs/rest-api/index.html it seems there is drop-request endpoint that gives you the possiibility to drop the entire queue. What if I want to drop a single flowfile? Is there a…
salvob
  • 1,300
  • 3
  • 21
  • 41
0
votes
1 answer

How to get data transfer completion status in nifi for SFTP transfer

I have created a flow in nifi to transfer data from one linux machine to another linux machine. Flow is like this: GetSFTP-->UpdateAttribute-->PutSFTP Everything I am managing through nifi APIs, i.e. creating, updating attributes and starting of…
Deepanshu
  • 142
  • 1
  • 12