Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 02-03-2026 06:59 PM
We were looking at storing the provenance *.gz ( lucene ) files so we could have a record of all activity through Nifi, as our IT security people are fussy about such things.
It seems Nifi writes to multiple files at the same time, so this may not be possible, or perhaps there is a better way of doing this?
I would welcome thoughts as to how we might do this, or maybe propose a different way to achieve the same logging outcome.
Thanks in advance.
Created 02-04-2026 07:53 AM
Hello @zzzz77,
Maybe this blog can help you: https://community.cloudera.com/t5/Community-Articles/Understanding-how-NiFi-s-Content-Repository-Arc...
There explains how to handle the repository archive and it could work for what you need.
Also, there are other options like the Reporting Tasks documented here: https://nifi.apache.org/docs/nifi-docs/
SiteToSiteProvenanceReportingTask is an option for your need.
Created 02-04-2026 10:03 AM
@zzzz77
Provenance can be very noisy depending on size of your dataflows and the amount of FlowFIles being processed through those dataflows. The provenance repo has age and size configuration that trigger roll-off of old events. So you may not reach the retention age if you reach size first. Also would not be trying to read provenance files while they are being written to.
The SiteToSiteProvenanceReportingTask might be the solution you are looking for in Apache NiFi. This reporting task will send all provenance events over Site-To-Site protocol to a target NiFi where you can then feed them into any long term storage medium of your choice in a human readable format.
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt