NiFi Ingest 25.4
NiFi Ingest

# UpdatePersistentCounter

A processor that counts the number of FlowFiles that pass through a point in the dataflow.

This processor is similar to the "UpdateCounter" processor that is supplied with Apache NiFi, except that it stores the counter value on disk. This means that the processor can continue counting even if the NiFi instance is restarted.

NOTE: When you remove an UpdatePersistentCounter processor from the dataflow, the stored count is discarded.

TIP: To see the value of the counter, right-click the processor and click View State. To see the value of all your counters, click followed by Counter.

## Properties

Name | Description
--- | ---
Counter Name | A name that identifies the counter.
Delta | Specifies how to change the counter, for each FlowFile processed. The default value increments the counter by 1 but you could, for example, decrement the counter.

## Relationships

Name | Description
--- | ---
success | All FlowFiles are output to the success relationship.

Copyright 2018-2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 25.4

Topic Title: UpdatePersistentCounter