Log Sending
If you have syslog server, you can follow the instructions below to configure your Synology Router as a syslog client and transmit the local system logs of your Synology Router to a syslog server for centralized monitoring and management. The syslog server receives the logs via the network, allowing you to centralize log management.
To send logs to a syslog server:
- Go to Log Center > Log Sending.
- Tick the box Send logs to a syslog server.
- Enter the syslog server's hostname or IP address, port for receiving syslog messages, and transfer protocol (UDP or TCP).
- By default, the port is 514. Porper 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 until new ones are processed.
- Secure connection (SSL) can only be activated when TCP is used.
- If you choose TCP protocol and want to secure the syslog connection with SSL, you can tick the box Enable secure connection (SSL). Then click Import certificate and select the certificate for transferring logs securely to the syslog server.
- 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 make sure your settings are correct.
- Click Apply to save settings.
Note:
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).