Log Receiving
Your Synology NAS can act as a syslog server in order to receive logs from client device over the network. Three formats are supported for receiving logs: BSD (RFC 3164), IETF (RFC 5424), and Custom. All received logs are stored in the log database.
Before you start:
Go to Log Center > Archive Settings and choose a location to store and archive logs.
To set up log receiving:
- Go to Log Center > Log Receiving > Create.
- Choose the type of log format by ticking BSD format, IETF format, or Customized format. Enter a parsing rule in Rule parameters if you want customized log format.
- Select UDP or TCP from Transfer protocol.
- Specify a port number for receiving syslog messages in Port. The default port number is 514.
- If you want to securely transfer logs, tick the Enable secure connection (SSL) option. This option is only available when TCP is selected.
- Click Apply to save settings.
Note:
Find detailed information about parsing rules here. You can also download a sample for reference.
To manage custom rules:
- Select an existing custom rule.
- Choose from the following:
- Edit: Edit selected custom rule.
- Delete: Delete selected custom rule.
- Enable: Enable selected custom rule.
- Disable: Disable selected custom rule.
Exporting Certificate
If you ticked the Enable secure connection (SSL) option, you can click the Export certificate button to export the certificate used to authenticate other devices when sending logs to your Synology NAS.
To set up log receiving:
To manage custom rules:
Exporting Certificate