You should look at the ExecuteStreamCommand processor. Write up a script that 
does what you want in Bash or Python, pass any variables you need either 
through command line arguments or STIDIN (the contents of the FlowFile is 
passed as STDIN, I’ve written up whole Python scripts using ReplaceText and 
passed them straight into Python), and finally write out responses you want to 
keep to STDOUT.  All text sent to STDOUT will be saved as the contents of the 
outgoing FlowFile from this processor.

--Peter

From: Luis Carmona <lcarm...@openpartner.cl>
Sent: Monday, April 22, 2019 4:35 PM
To: users <users@nifi.apache.org>
Subject: [EXT] Telnet login and data capture

Hi,

has anyone used Nifi to read data from a Telnet connection. What I'm trying to 
do is to open the telnet connection, send a Login string, and then after 
receive all the traffic that will come from that connection from the server to 
NIFI.



Any clues ?


Thanks in advance

Reply via email to