Sorry forgot to change the status earlier.
Pls. find the patch attached. I have made changes to SyslogUDPSource and SyslogTCPSource. Tested it locally and also have added a JUnit for SyslogUDPSource.
I see the MultiportSyslogTCPSource is pretty much a better version/likely replacement for SyslogTCPSource. But still went ahead and added the metrics counters to SyslogTCPSource, as the change was trivial and its very much a part of the code base.
Pls. feel free to let me know if there any feedbacks or things to be taken care in this regard.