Using the NiFi status API
Use the NiFi status API to obtain information regarding NiFi. You can specifically obtain information about NiFi threads, queues, components, or versions.
Procedure
-
Open a web browser and navigate to the Ingest service Swagger URL.
http://IngestHost:port/swagger-ui/index.html?url=/v3/api-docs
Note: You can also use Postman or another REST tool of your choice to query the NiFi status API. -
Under NiFi Status, click on Try it
out.
A page is displayed to enter and submit REST fields.
-
Enter a query for the information that you are wanting to obtain regarding the
NiFi service.
For example:
http://IngestHost:port/status?fieldName=threads,queues,components