On my ubuntu 14.04 machine, rsyslog service is running healthily...service rsyslog status returns,rsyslog start/running, process 794cat /proc/794/cmdline shows,rsyslog  #meaning rsyslog is running with default params.Now, i am trying to check if rsyslog is having a TCP/UDP listening connection on port 514 using,netstat -lnup | grep 514   #for udpnetstat -lntp | grep 514   #for tcpBoth of the netstat commands return empty.Still, how can it run a server without a listening port?
Figure out Rsyslog listening port number
rsyslog
rsyslog doesn't listen on INET sockets by default. Instead, it binds to /dev/log, which is a Unix domain socket.# ls -la /proc/$(pidof rsyslogd)/fdtotal 0dr-x------ 2 root root  0 Jul 20 11:28 .dr-xr-xr-x 7 root root  0 Jul 20 11:05 ..lrwx------ 1 root root 64 Jul 20 11:28 0 -> socket:[3559]l-wx------ 1 root root 64 Jul 20 11:28 1 -> /var/log/syslog...# netstat -x | grep 3559unix  19     [ ]         DGRAM                    3559     /dev/log