GUIDE — 2026-08-06
Receive UniFi syslog on a Mac, Windows or Linux box
Complete step-by-step setup for forwarding syslog messages from a UniFi Dream Machine, Cloud Gateway Ultra, UniFi Cloud Key, or UniFi OS Console to SyslogWatch on a Mac, a Windows PC or a Linux server. No cloud service, no third-party account, just a machine on your own network.
Mac, Windows or Linux. SyslogWatch is the same application on macOS, Windows 10/11, Windows Server 2016 or newer, and 64-bit Linux, and it listens on the same port on all of them. Below, the computer running it is called the receiver; where the operating system matters — its address, its firewall, a packet capture — the step gives macOS, Windows and Linux separately. Most people run it on a server rather than a desktop; on a Linux server without one it runs in headless mode, with the screen in your browser.
Why forward UniFi logs to your own receiver?
UniFi's built-in Events tab is fine for a quick glance, but it retains only a small rolling window and cannot be searched, exported, or alerted on. If you have ever had a device drop off the network at 3am and wanted to know exactly which port flapped or which client failed to associate, you already know the pain of a UniFi console with no historical log depth.
Sending syslog to a receiver you run gives you:
- Persistent local storage of every event, on your own disk
- Search across weeks or months of history (archived-log search is in Pro)
- Alerts on specific keywords like "failed", "wan down", "kernel" — sound on Free (up to 3 rules), email with Pro
- No cloud vendor storing your network activity
What you need
- Any UniFi OS device (UDM, UDM Pro, UDM SE, UCG Ultra, UCG Max, UCG Fiber, UCK G2, UCK+, or UDR) running recent firmware
- A Mac, Windows PC or Linux server on the same network (or at least reachable at a stable IP)
- A syslog receiver on that machine — SyslogWatch is what we made specifically for this. Free tier is enough for most homelab setups.
Step 1 — Note the receiver's IP address
Note the receiver's IPv4 address, for example 192.168.1.42:
- macOS — System Settings → Network → your active interface, or
ifconfig en0 | grep inet - Windows —
ipconfig | findstr IPv4 - Linux —
ip -4 addr show
For reliable syslog reception, give the receiver a DHCP reservation in the UniFi controller so this IP does not change:
- UniFi controller → Clients → find the receiver
- Settings gear → Fixed IP Address → toggle on
- Set the fixed IP → Apply
Step 2 — Install SyslogWatch
Get it from meshwatch.app (or the Mac App Store, though that edition tops out at Pro). Free tier includes UDP + TCP receiving, RFC 3164 and RFC 5424 parsing, filtering, up to 3 alert rules, and every message saved to disk with no cap and no expiry — sufficient for a home UniFi network.
Launch the app. By default it listens on UDP + TCP port 1514 (a non-privileged port, no admin password needed). You can leave this as is.
Step 3 — Configure UniFi to forward syslog
UniFi's syslog forwarding is on the controller, not on individual APs or switches. Setting it once forwards everything managed by the controller.
For UniFi Network (v7+ / v8+ / v9+)
- Open the UniFi Network controller in your browser
- Go to Settings → System → Application Configuration
- Scroll to Remote Logging
- Toggle Enable Remote Syslog Server on
- Enter:
- Host: the receiver's IP (from Step 1)
- Port:
1514
- Toggle Include Debug Messages off unless you want a firehose
- Toggle Log All Contents on if you want client roam events and full DHCP lifecycle
- Click Apply Changes
For UniFi Protect, Access, or Talk (separate applications)
Each application has its own Remote Logging setting under its own Settings pane. Point all of them at the same receiver and port 1514 — SyslogWatch will tag each message with the sending host so you can filter later.
Step 4 — Verify messages are arriving
Back in SyslogWatch, you should see events start flowing within a few seconds. If nothing appears in 60 seconds:
- Confirm the receiver's firewall is not blocking port 1514. macOS: System Settings → Network → Firewall → Options → allow SyslogWatch. Windows: Windows Security → Firewall & network protection → Allow an app through firewall. Linux:
sudo ufw allow 1514/udp(Ubuntu/Debian) orsudo firewall-cmd --add-port=1514/udp --permanent && sudo firewall-cmd --reload(Fedora/RHEL). - Confirm the receiver and the UniFi device are on the same subnet, or that routing is in place between subnets.
- On macOS or Linux, run
sudo tcpdump -i any -n port 1514to see if packets are reaching the receiver at all; on Windows, capture with Wireshark using the capture filterport 1514.
Step 5 — Create useful filters
Once messages are streaming, the filter box lets you narrow to what matters. Some UniFi-specific filters worth saving:
failed— failed logins, failed handshakes, DHCP failureswan— WAN link state changeskernel— deeper kernel events, useful when debugging dropshostapd— Wi-Fi association eventsDFS— 5 GHz DFS channel changes (useful when Wi-Fi drops for a minute at random)
Step 6 — Set up alerts (Pro)
If you upgrade to SyslogWatch Pro (up to 50 keyword rules, with sound and email), you can create rules like:
- Match "failed password" → sound alert + email
- Match "wan down" → sound alert + email
- Match "DFS" → email
To keep a noisy rule from flooding your inbox, SyslogWatch Enterprise adds throttling: a cooldown, a cap per hour, or a periodic digest.
Email delivery goes through your own SMTP server (Gmail, Fastmail, iCloud, or your own postfix). SyslogWatch does not have a mail relay of its own — a deliberate privacy decision.
Common UniFi log patterns to know
| Pattern | Meaning |
|---|---|
Client disconnected | Wi-Fi client left the network |
Client roamed to | Client moved between APs |
Link is Up / Link is Down | Switch port state change |
Wireguard peer connected | VPN client came online |
THREAT: signature | IDS/IPS event (if enabled) |
Adopted by controller | A device was newly adopted |
Troubleshooting
Getting messages from only the UDM but not from APs? That is normal — APs report to the UDM, and the UDM forwards to your syslog server. Individual APs do not typically speak syslog directly.
Timestamps look wrong? Check the UDM's timezone under Settings → System → Date and Time. UniFi syslog uses the controller's local time.
Getting too much noise? Turn off "Include Debug Messages" in the Remote Logging settings.
What's next
Once UniFi is flowing, the same receiver can also take logs from your NAS, firewall, and Linux boxes on the same port. See our pfSense guide and Synology guide.
Or grab SyslogWatch and get started — free tier, no cloud account, 30-minute setup.
Related