Support Questions

Find answers, ask questions, and share your expertise

How to pass a parameter through an URL to a nifi processor group? and how can i start running the processor group through that url.Any help is highly appeciated. Thank you.

avatar
New Contributor
 
2 REPLIES 2

avatar

@Hemant Kumar

Here is an article on how to start a processor group by rest api

https://community.hortonworks.com/articles/110096/start-process-group-using-nifi-rest-api.html

For you first question, if you are looking to update the processor configuration please review:

https://nifi.apache.org/docs/nifi-docs/rest-api/index.html

PUT /processor/{id}

HTH

*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

avatar
New Contributor

Actually, i m not updating the processor configuration. I want to get the file path form the url which is being used to start the processor like (http://localhost:9090/nifi-api/flow/search-results?q=FileGetter&restoftheurl=http://localhost:8080/file/file.php). I am new to the nifi so using curl instead of direct URL didn't work either. If you could help me in simple way, it would be appreciable.

Thanks