The second step in this example pipeline is KeyView Filtering. Filtering extracts text from a file and adds it to the document.
To add KeyView Filtering
Add a processor, by dragging the processor icon from the components toolbar to the canvas.
The Add Processor dialog box opens.
In the Source list, click idol.nifi.
The list of processors is filtered to those that are provided in the NiFi Ingest distribution.
Select the KeyViewFilterDocument processor and click ADD.
The processor is added to the canvas.
Create a connection between the KeyViewExtractFiles processor and the KeyViewFilterDocument processor. Hover the mouse over the KeyViewExtractFiles processor until you see the connection icon - - and then drag the icon to the KeyViewFilterDocument processor.
The Create Connection dialog box opens.
In the For Relationships area, select the success check box so that any FlowFiles that were successfully processed by the KeyViewExtractFiles processor are queued for filtering. Then, click ADD.
The connection appears on the canvas. NiFi automatically adds a queue between the KeyViewExtractFiles processor and the KeyViewFilterDocument processor.
Right-click the KeyViewFilterDocument processor and click Configure.
The Configure Processor dialog box opens.
|