Support Questions

Find answers, ask questions, and share your expertise

Nifi - Flow Analysis Rules - Possibility to create custom rules?

avatar
Reader

Hi everyone,

I'm currently working with Apache NiFi 2.1.0 versions, and I'm wondering:

Is it possible to create a custom Flow Analysis Rule, similar to how we can create custom processors?

Thanks in advance for your help!

1 ACCEPTED SOLUTION

avatar

@brajs   Yes, it is possible to make custom flow analysis rules.  This is still tech preview in nifi 2.0 so documentation is limited.  I would recommend to take a look at some existing rules, tear them down to source code, modify to suit, and build and package your custom rules.  Once you have a new rules nar file, just deliver it to the nifi /lib location and it should be available to use.

View solution in original post

2 REPLIES 2

avatar
Community Manager

@brajs, Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts @MattWho @SAMSAL, who may be able to assist you further.

Please feel free to provide any additional information or details about your query. We hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar

@brajs   Yes, it is possible to make custom flow analysis rules.  This is still tech preview in nifi 2.0 so documentation is limited.  I would recommend to take a look at some existing rules, tear them down to source code, modify to suit, and build and package your custom rules.  Once you have a new rules nar file, just deliver it to the nifi /lib location and it should be available to use.