How to check if the Zyxel switch sends the logs to syslog server?
Options
Zyxel_Melen
Posts: 4,941
Zyxel Employee
Zyxel Employee
Please try the following troubleshooting steps:
- Test Connectivity: Navigate to Maintenance > Diagnostic in the web GUI and attempt to ping the syslog server directly from the switch to confirm there is a valid path.
- Check Local Firewall (if you change syslog port): Confirm that the Linux system's firewall is explicitly allowing incoming traffic on UDP port 51898. Since this is a non-standard port (default is usually 514), the host firewall or the syslog daemon configuration (e.g., rsyslog or syslog-ng) must be specifically set to listen on this port.
- Trigger a Log Event: To force a log generation for testing, try logging out and back into the switch or toggling a physical port (plug/unplug a cable) and check if any packets are captured on the server via tcpdump or wireshark.
Please note that if you are using Grafana Alloy, please setup a rsyslog server and forward the messages to the Alloy listener with this rsyslog configuration block:
http://. action(
type="omfwd"
target="192.168.1.230" # replace with server hostname or IP
port="51898"
protocol="udp"
Template="RSYSLOG_SyslogProtocol23Format"
)
Zyxel Melen
0
Categories
- All Categories
- 442 Beta Program
- 3K Nebula
- 234 Nebula Ideas
- 6.7K Security
- 693 USG FLEX H Series
- 365 Security Ideas
- 1.8K Switch
- 87 Switch Ideas
- 1.4K Wireless
- 56 Wireless Ideas
- 7.1K Consumer Product
- 312 Service & License
- 508 News and Release
- 97 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 5.1K FAQ
- 34 Documents
- 89 About Community
- 114 Security Highlight