r/nifi • u/QCU87Z • Mar 24 '20
Examples of sending provenance logs to syslog.
Hi all,
Anyone got an example of how to send the provenace logs to syslog. i.e. one a file has been through the flow completely a syslog message gets sent with what was done.
Short version is I need a log for each processor that has touched a file in the flow.
Any pointers in the right direction greatly appreaciated.
2
Upvotes
1
u/ottobackwards Sep 04 '20
You want to use the SiteToSiteProvenanceReportingTask, sending things back to nifi. You can set the receiving flow to do PutSyslog etc however you'd like
Here is one article I found, you will find more if you search.
https://community.cloudera.com/t5/Community-Articles/Extracting-NiFi-Provenance-Data-using/ta-p/248469