Collecting router's Syslog

There are several ways to collect Syslog. While Syslog Explorer provides a quick and convenient way to review and download Syslog logs, saving logs to a USB disk allows the router to store more extensive data directly on a connected USB device. Using the Syslog Utility on a Windows computer enables the collection of comprehensive Syslog data, allowing for clear and easy viewing of different log types.

Syslog Explorer

Go to Diagnostics >> Syslog Explorer, check Enable Web Syslog and choose a Syslog Type, and the router will start to record the logs. To save the Syslog file, please click Export. Then, a file named web_syslogxxxxxxxx will be downloaded to your computer, where xxxxxxxx is the current date.

a screenshot of DrayOS Web Syslog

Save Syslog to USB Disk

1. Insert a USB disk to router's USB port, and check if the router detects it via USB Application >> USB Device Status page.

a screenshot of DrayOS USB Status

2. Enable Syslog Access for USB Disk: Go to System Maintenance >> Syslog/Mail Alert Setup,

  1. Check Enable for Syslog Access Setup
  2. Check USB Disk for Syslog Save to
  3. Set the max. size of syslog folder, the log files is up to 512, each log file size will be the max. size/512.
  4. Select the action when syslog folder is full, it can be overwriting the oldest one or stop logging.
  5. Choose the Syslog messages you would like to collect
  6. Click OK to apply.
a screenshot of DrayOS Syslog setup

3. When the logs are ready, they will be saved to a new folder Syslog on the USB disk. You may check the files from USB Application >> File Explorer, and download the file to your computer by double-clicking it.

a screenshot of DrayOS File Explorer

Syslog Utility

Any computer that has Syslog Tool installed can be the Syslog server. You can download the Tool from Products > DrayTek Utility. To collect Syslog with Syslog Tool, please:

1. Enable Syslog Access on the router: Go to System Maintenance >> Syslog/Mail Alert Setup,

  1. Check Enable for Syslog Access Setup
  2. Select Syslog Server for Syslog Save to 
  3. Enter the IP of the computer which runs the Syslog Tool for Server IP Address.
  4. Select the syslog messages you would like to collect
  5. Click OK to apply.
a screenshot of DrayOS syslog setup

2. Run Syslog Tool on the computer. Then:

  1. Select the router's LAN IP address.
  2. Select the WAN Interface.
  3. After collecting the logs you need, click on the Save button to save the file.

  4. Troubleshoot: If you didn't get any log on the software, please check the firewall policy on both the router and the Syslog server (the computer) to see if there is a rule blocking UDP port 514.

a screenshot of DrayTek Syslog Utility

3. There will be a pop-up window. Select Save current log to a file, enter Log File name and path, and Click OK to save.

a screenshot of DrayTek Syslog Utility
Web Syslog Explorer

1. Navigate to Monitoring / Log Center.

2. Enable the Enabled Web Syslog option to activate the Syslog Explorer feature.

3. Use the Type filter or enter the keyword in the Search field to sort and view specific Syslog entries.

4. Logs can be exported easily for further analysis or record-keeping by the Export function.

Syslog Utility

1. Navigate to System Maintenance / Device Settings / Syslog.

2. Select the External Server option.

3. Select the Log Messages.

4. Click +Add to specify an external Syslog Server’s IP address and the service port.

5. Syslog will be sent to the Syslog Server's IP. Run the Syslog Utility on the Syslog Server computer to view or save the collected logs.

Save Syslog to USB Disk

1. Prepare a USB flash drive and plug it to Vigor 3900's USB port, and go to USB Application >>Disk Status to make sure its Status is “In Use”

Note: Vigor2960/3900 only support the USB drives using file system FAT32 and EXT2,3.

2. Remember that making any changes in Syslog settings will clear the Syslog File in System Maintenance >> Syslog/Mail Alert, if you want to keep the current log, please download it first.

3. Enable saving Syslog to USB device. Go to System Maintenance >> Syslog/Mail Alert >> Syslog Access Setup,

  1. select Status as Local,
  2. enable Log to USB,
  3. click Apply.

4. Click OK to save the configuration.

5. After the above configuration, the syslog file will be saved to the USB drive in a folder named “syslog”, which is created automatically by the Vigor Router.

Syslog Utility

Any computer that has Syslog Tool installed can be the Syslog server. You can download the Tool from Products > DrayTek Utility. To collect Syslog with Syslog Tool, please:

1. Enable Syslog Access on the router: Go to System Maintenance >> Syslog/Mail Alert Setup,

  1. select Remote for status
  2. Enter the IP of the computer which runs the Syslog Tool for Server IP Address.
  3. Select the Syslog messages you would like to collect
  4. Click Apply.

2. Run Syslog Tool on the computer. Then:

  1. Select the router's LAN IP address.
  2. Select the WAN Interface.
  3. After collecting the logs you need, click on the Save button to save the file.

3. There will be a pop-up window. Select Save current log to a file, enter Log File name and path, and click OK to save.

Published On: 2016-07-06 

Was this helpful?   

book icon

Related Articles