EdgeRouter - Remote Syslog Server for System Logs


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

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

Adding a Syslog Server

Back to Top

Either the GUI or CLI can be used to configure the location of the syslog server and the severity level (0-7). The 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 Graphical User Interface (GUI).

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 for syslog by default.

The CLI equivalent of this configuration is shown below.

set system syslog host <server-ip> facility all level <severity-level>
commit ; save

Related Articles

Back to Top

Intro to Networking - How to Establish a Connection Using SSH

We're sorry to hear that!