Support Questions

Find answers, ask questions, and share your expertise

Reporting nifi flow change auditing data

avatar
Contributor

I want to setup a reporting task that exposes all flow changes (whats they did, who did it), to an external system.

I found this https://issues.apache.org/jira/browse/NIFI-986

Which shows that some work has been done to enable this functionality, but looking at the reporting tasks in NiFi (1.2.0) its not self explanatory how to achieve it.

Any suggestion to get started would be greatly appreciated!

1 ACCEPTED SOLUTION

avatar
Master Guru

You have to implement a custom reporting task that pages through the events and does something with them...

A ReportingTask has access to a ReportingContext which has access to EventAccess which has a method for paging through the flow change events. Here is an example:

https://github.com/bbende/incubator-atlas/blob/NIFI/addons/nifi-bridge/nifi-atlas-bundle/nifi-atlas-...

View solution in original post

1 REPLY 1

avatar
Master Guru

You have to implement a custom reporting task that pages through the events and does something with them...

A ReportingTask has access to a ReportingContext which has access to EventAccess which has a method for paging through the flow change events. Here is an example:

https://github.com/bbende/incubator-atlas/blob/NIFI/addons/nifi-bridge/nifi-atlas-bundle/nifi-atlas-...