How to use Synology NAS as a Syslog Server (DSM 4)
By installing the Syslog Server package on a Synology DiskStation, you can easily set up your own syslog server to collect various types of activity logs from devices within the network. Syslog Server allows IT administrators to monitor the overall status of the multiple network devices with one interface and respond immediately should any problems occur.
This article will guide you through the process of setting up Syslog Server on your Synology DiskStation.
Syslog is a standard protocol for system data logging, allowing system logs to be transferred over a network. Syslog is widely supported on most of today's network devices. When a syslog client application is installed, a server can generate and feed logs to another server acting as the syslog server.
- Before you start
- Enable Syslog Server on Synology DiskStation
- Configure Synology DiskStation as a syslog client
This article assumes that you have done the following tasks:
- Set up your DiskStation and installed DiskStation Manager (DSM). For more information, please consult the Quick Installation Guide for your Synology product.
- Log into DSM with an account belonging to the administrators group.
- Go to Package Center to find and install Syslog Server. For detailed instructions to install packages, please see this tutorial.
- The first time you launch Syslog Server, you'll be prompted to enable it. Go to Server Settings and tick Enable Syslog server.
- Choose a shared folder from the drop-down menu. The Syslog Server database will be stored in the selected shared folder. (To create a new shared folder, go to Control Panel > Shared Folder.)
- Modify the protocol and port settings according to your needs.
- Click Apply to save your settings. Your DiskStation is now ready to receive syslog messages from other network devices!
- Secure connection is only available for TCP protocol.
- You can click the Export certificate button to export a certificate to use when setting up a syslog client.
If you have multiple Synology DiskStations, you might want to centralize all system logs on one DiskStation running Syslog Server. It's easy to configure one DiskStation to send syslog messages to the DiskStation running Syslog Server. Just follow the instructions in this tutorial.
Need technical support? Submit Support Form