EdgeRouter - Remote Syslog Server for System Logs


Overview


Readers will learn how to configure the EdgeRouter to send log messages to a Syslog server.

NOTES & REQUIREMENTS:
Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
 
Devices used in this article:

Adding a Syslog Server


Back to Top

topology.png

Log messages will be sent to the remote Syslog host using UDP port 514.


A remote Syslog server can be defined using an IP address or hostname. The severity levels are:

  • 0Emergency
  • 1Alert
  • 2Critical
  • 3Error
  • 4Warning
  • 5Notice
  • 6Informational
  • 7Debug 
GUI: Access the EdgeRouter Web UI.

Navigate to the System tab in the bottom left of the Web UI and define the syslog server and log level.

System > System Log

Log to remote server: <server-ip>
Log Level: <severity-level>
NOTE: EdgeOS uses the BSD Syslog format, the rsyslogd service and UDP port 514 (not customizable) for Syslog by default.

The above configuration can also be set using the CLI:

CLI: Access the EdgeRouter Command Line Interface.
configure
set system syslog host <server-ip> facility all level <severity-level>
commit ; save

Related Articles


Back to Top

EdgeRouter - Archiving and Managing the Configuration Files

EdgeRouter - Access the CLI from the Web UI

Intro to Networking - How to Establish a Connection Using SSH


We're sorry to hear that!