Blog

Send EdgeRouter Lite Logs Using a Custom Port and Protocol

Further details for configuring rsyslog can be found here:

http://www.rsyslog.com/sending-messages-to-a-remote-syslog-server/
https://www.loggly.com/docs/rsyslog-manual-configuration/

3713f3a4-7e1b-4f27-ab41-554afad6af8a.jpg

Configure rsyslog on EdgeRouter Lite

1
sudo vi /etc/rsyslog.d/vyatta-log.conf

@ denotes protocol

@=udp

@@=tcp

:port

1
2
*.info @10.0.1.29:4514
*.notice;local7.* -/var/log/messages
configure-rsyslog-on-edgerouter-lite.png

Restart the rsyslogd daemon

1
sudo service rsyslog restart
restart-the-rsyslogd-daemon.png