Reputation: 2087
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 these can do the trick. NiFi REST Api documentation
Upvotes: 1
Views: 1074
Reputation: 165
You can use the GET/processors/{id}
to get back this information in the form of a ProcessorEntity
. This contains all fields as shown in your screenshot: name, type, status, counters of last 5 minutes...
Inside the ProcessorEntity
object, you can find the ProcessorStatus
object which contains the name, type, status, 5min snapshot information per node and aggregated etc...
I included some links as examples to these objects from the NiFi python client, but you can also find some examples on the NiFi REST API docs you linked yourself.
Upvotes: 1