如何在NiFi Web UI中查询指定Process Group的时段数据量?
Hey there! As someone who's dug into NiFi's metrics for specific process groups before, here's a straightforward, UI-only way to get the data volume you need:
First, log into your NiFi Web UI. Use the canvas to locate the Process Group tied to your project—click directly into it to enter its dedicated view.
In the top navigation bar of the Process Group view, click the Provenance button (it’s the clock/history-style icon). This opens the Provenance Explorer, which tracks all data flow events associated with the group.
In the top-right corner of the Provenance Explorer, you’ll find a time range selector. Click it to pick:
- A preset range (like "Last 1 Hour" or "Yesterday")
- Or select Custom to input exact start and end timestamps matching your desired period
By default, the explorer shows all events for your current Process Group, but you can narrow things down further:
- Click the Filter button (funnel icon) at the top of the page
- In the filter panel, use the Component Group dropdown to confirm it’s set to your target Process Group
- You can also filter by event type (e.g., "FlowFile Created", "FlowFile Sent") if you want to focus on specific data movement actions
Once your events are filtered correctly:
- Check the Data Size column in the event list—each row displays the size of the data for that individual event
- For a small number of events, you can sum these values manually
- For larger datasets, click the Download button (top-right) to export the events as a CSV file. Open this in a spreadsheet tool (like Excel or Google Sheets) and use a sum formula on the
dataSizecolumn to get the total volume.
Important Notes:
- Ensure your processors are configured to generate Provenance events: For any processor in the group, go to its Settings > Provenance Reporting Level and confirm it’s set to at least FlowFile Created or All Events (this is enabled by default for most processors, but it’s worth verifying if you’re missing data).
- If you need ongoing, automated metrics instead of a one-time check, you could set up a Reporting Task (like
MonitorProcessorStatus) to send data to a monitoring tool—but that’s outside the UI-only workflow you asked about.
内容的提问来源于stack exchange,提问作者Vasanth Subramanian

