To feed the logs into our analyzer, using socket can be a good choice. A single socket can conveniently deliver the upcoming log lines using TCP/IP protocols.
socket