Knowledge Base

How to use Synology NAS as a Syslog Server (DSM 4)

Overview

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.

What is Syslog?
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.

Contents

  1. Before you start
  2. Enable Syslog Server on Synology DiskStation
  3. Configure Synology DiskStation as a syslog client

1. Before you start

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.

Return to top

1.1 Install Syslog Server

  1. Log into DSM with an account belonging to the administrators group.
  2. Go to Package Center to find and install Syslog Server. For detailed instructions to install packages, please see this tutorial.

2. Enable Syslog Server on Synology DiskStation

  1. The first time you launch Syslog Server, you'll be prompted to enable it. Go to Server Settings and tick Enable Syslog server.
  2. 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.)
  3. Modify the protocol and port settings according to your needs.
  4. Click Apply to save your settings. Your DiskStation is now ready to receive syslog messages from other network devices!
Note:
  • 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.

Return to top

3. Configure Synology DiskStation as 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.

Return to top

Is this information useful for you? Yes No

Need technical support? Submit Support Form