Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Syslog Configuration (Platform)

Syslog Overview

System Log (syslog) is a running list of everything that's going on in your system. You can use these logs to audit events or review anomalies. You can configure syslog to send messages for specific types of systems (facilities) to external syslog servers. (You can also export event logs to a CSV file.)

Syslog configuration includes the following details:

Name Description

IP Address

The remote syslog server IP address or hostname

Port

The remote syslog server port

Protocol

UDP or TCP

Facility

The type of system that's logging the messages

Facilities are mapped to Apstra syslogs as follows:

  • 0 - kern - kernal messages

  • 1 - user - user-level messages

  • 2 - mail - mail system

  • 3 - daemon - system daemons

  • 4 - auth - security/authentication messages

  • 5 - syslog - messages generated internally by syslogd

  • 6 - lpr - line printer subsystem

  • 7 - news - network news subsystem

  • 8 - uucp - UUCP subsystem

  • 10 - authpriv - security/authentication messages

  • 11 - ftp - FTP daemon

  • 15 - cron - Cron subsystem

  • 16 - local0 - locally used facilities

  • 17 - local1 - locally used facilities

  • 18 - local2 - locally used facilities

  • 19 - local3 - locally used facilities

  • 20 - local4 - locally used facilities

  • 21 - local5 - locally used facilities

  • 22 - local6 - locally used facilities

  • 23 - local7 - locally used facilities

Time Zone The syslog message time zone. If you have proper time zone translation, you won't need to synch the system time zone (or Docker time zone) with your external syslog server. Rather than assuming the message time is in Zulu/UTC-0, the time zone translation needs to append the correct time zone information to the timestamp. Then, you can better correlate Apstra events in your external message systems.

Syslog messages follow Common Event Format (CEF) conventions as shown below:

Note:

{host} is the the Apstra server hostname. If you want to change the hostname, you must use the procedure on the Change Apstra Server Hostname page. If you change the hostname with any other method, the new hostname won't be included in syslog entries.

Example of Audit Syslog Message:

Example of Anomaly Syslog Message:

From the left navigation menu, navigate to Platform > External Services > Syslog Configuration to see configurations. You can create, clone, edit and delete syslog configurations.

Create Syslog Config

  1. From the left navigation menu, navigate to Platform > External Services > Syslog Configuration and click Create Syslog Config (top-right).
  2. Configure the Syslog server. (See overview above for details.)
  3. Click Create to save the configuration and return to the table view.
  4. To configure another Syslog server, repeat the steps above.
  5. To enable messages to be sent to a configured server, toggle on Use for Audit and/or Forward Anomalies, as appropriate.

Edit Syslog Config

  1. From the left navigation menu, navigate to Platform > External Services > Syslog Configuration and click the Edit button for the Syslog configuration to edit.
  2. Make your changes.
  3. Click Update to update the Syslog configuration and return to the table view.

Delete Syslog Config

  1. From the left navigation menu, navigate to Platform > External Services > Syslog Configuration and click the Delete button for the Syslog configuration to delete.
  2. Click Delete Syslog Config to delete the Syslog configuration and return to the table view.