Skip to main content
brajs
Bronze ⭐️⭐️⭐️
May 12, 2025
Solved

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

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!

steven-matison
Platinum ⭐️⭐️
May 15, 2025

@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.

2 replies

VidyaSargur
Community Manager
Community Manager
May 13, 2025

@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.

Translate
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.
steven-matison
Platinum ⭐️⭐️
Platinum ⭐️⭐️
May 15, 2025

@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.

Translate