Skip to content

data-hunters/nifi-pastebin-monitoring-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

NiFi Pastebin monitoring flow

This repository contains flow (Pastebin_Monitoring_Flow.xml) which was created for NiFi presentation purposes. Its main goal is to monitor newly added content on Pastebin.com and send notification on Slack when sample conditions are met. Step by step instruction - how to build it from scratch has been described in one of our articles: Use of NiFi for OSINT automation purposes (part II).

Importing flow

To import flow, you have to click on "Upload template" icon (toolbox on the left side), then click on magnifier to select file with the flow and finally "Upload" button.

Toolbox with "Upload template" button

When it's uploaded, drag and drop "Template" icon:

Template

select "Pastebin monitoring flow" and click "Add" button. Now, you should see the following flow:

Pastebin monitoring flow

As you can see, two processors (PutSlack) have warnings. You have to configure Webhook URL for each of them. If you don't know how, read "Slack notification" section in our article.

DataHunters