Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

ListenTCP or ListenSyslog

Contributor

Hi All,

Thanks a lot to this awesome community. I am using ListenTCP to stream all the logs from a port and sending it to hdfs.

Using listensyslog I know it can parse for syslog messages and forward but reject the messages which are not in syslog format.

Are there any major resoning why should I use listetcp over listensyslog besides above point?

Thanks

Dhieru

1 ACCEPTED SOLUTION

There are no real additional reasons. The key reason for ListenSyslog is that it understands syslog message framing on top of a raw TCP socket. Otherwise, it is basically not much different than ListenTCP or ListenUDP.

View solution in original post

1 REPLY 1

There are no real additional reasons. The key reason for ListenSyslog is that it understands syslog message framing on top of a raw TCP socket. Otherwise, it is basically not much different than ListenTCP or ListenUDP.