Log Sending

If you have syslog server, you can follow the instructions below to configure your Synology NAS as a syslog client and transmit the local system logs of your Synology NAS to a syslog server for centralized monitoring and management.

To send logs to a syslog server:

  1. Go to Log Center > Log Sending.
  2. Tick the box Send logs to a syslog server.
  3. Enter the syslog server's hostname or IP address in Server.
  4. Specify a port number for receiving syslog messages in Port.
  5. Select UDP or TCP from Transfer protocol. This should match the protocol used by the syslog server.
  6. Select BSD (RFC 3164) or IETF (RFC 5424) from Log format to send logs using the selected format.
  7. Note:

    • By default, the port is 514. Proper port forwarding rules must be set if you want to reassign a different port number to syslog server.
    • UDP (User Datagram Protocol) is a simpler message-based connections protocol that is faster but lacks security and error correction. TCP (Transmission Control Protocol) offers guaranteed delivery, in which it uses a flow control to determine whether all the packets have been successfully sent before new ones are processed.
    • Secure connection (SSL) is only available when using TCP.
    • If you choose TCP and want to secure the syslog connection with SSL, you can tick the Enable secure connection (SSL) option. Then click Import certificate and select the certificate for transferring logs securely to the syslog server.
  8. Click Send test log to confirm the syslog server can receive the log successfully. If the syslog server does not receive the test log, please check your settings are correct.
  9. Click Apply to save settings.

Filtering Logs

On the Filter tab, you can specify which types of logs are sent to the syslog server, according to category (e.g. system, connection, backup) or severity (e.g. warning, error, information).