What is the Syslog Protocol?

Syslog is a standard way for computers and network devices to send short text messages about what is happening on them. Think of each message as a quick note: “Someone logged in”, “A link went down”, or “Disk space is low.”

Those notes travel over the network using the syslog protocol — rules that define how the text is formatted and how it is delivered to a syslog server (a program that collects and stores the messages).

Why the syslog protocol exists

Every router, switch, firewall, server, or application can create thousands of events per day. If each device keeps its own logs, troubleshooting becomes slow:

  • You must log in to many systems to find one problem.
  • Old logs may be deleted when disks fill up.
  • There is no single timeline of what happened on the network.

The syslog protocol solves this by letting devices push events to one central place in real time. That is the job of a syslog server — and on Windows, tools like Syslog Watcher receive and manage those messages.

How syslog works (in plain terms)

The flow is simple:

  1. Something happens on a device (login, error, configuration change).
  2. The device builds a syslog message — a line of text with a timestamp, severity, and description.
  3. The device sends the message over the network (usually to port 514).
  4. A syslog server receives, stores, and lets you search the messages.

You do not need to poll devices one by one. They send logs to you automatically — as long as they are configured with the IP address of your syslog server.

What does a syslog message look like?

A syslog message is plain text. It always includes a priority (how urgent the event is) and a message body (what happened). Two common formats are BSD syslog (RFC 3164) — older, very common on network gear — and RFC 5424 — newer and more structured.

Example: RFC 3164 (classic format)

Often used by Cisco, Juniper, and similar devices:

<134>Oct 11 22:14:15 switch01 %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up

Reading this line:

  • <134> — priority (facility + severity encoded as one number).
  • Oct 11 22:14:15 — timestamp.
  • switch01 — hostname of the device that sent the message.
  • The rest — the actual event text.

Example: RFC 5424 (modern format)

<165>1 2024-06-15T10:30:00.123Z firewall01.example.com filter - ID47 [example@32473] BOOM

Here you also get a structured timestamp, hostname, and optional structured data in square brackets.

A good syslog server parses these lines so you can filter by severity, device name, or keywords — not just read raw text.

Severity levels (how urgent is the message?)

Syslog defines eight severity levels. Lower numbers mean more urgent:

LevelNameSimple meaningExample
0EmergencySystem unusableCore router failure
1AlertImmediate action neededRAID array failed
2CriticalSerious failureVPN service down
3ErrorError conditionAuthentication failed
4WarningSomething unusualHigh CPU usage
5NoticeNormal but importantConfiguration saved
6InformationalRoutine informationUser logged in
7DebugDetailed diagnosticPacket trace details

Most day-to-day messages are Informational (6) or Warning (4). Security teams often alert on Error and above.

How messages travel over the network

The syslog protocol can ride on different transports:

TransportPortIn simple terms
UDP514Fast and lightweight; a message might be lost if the network is busy (common default).
TCP514 (or custom)Reliable delivery; messages are not lost as easily.
TLSoften 6514Encrypted syslog — important for compliance and untrusted networks.

Syslog Watcher accepts syslog over UDP, TCP, and TLS, and supports both RFC 3164 and RFC 5424.

Syslog protocol vs. Windows Event Log

Windows uses its own Event Log format — not syslog — for local OS and application events. Network devices rarely send Windows Event Log; they send syslog.

Syslog protocolWindows Event Log
Typical sourcesRouters, firewalls, Linux, appliancesWindows OS and Windows apps
FormatText lines (RFC 3164 / 5424)Windows-specific records
On Windows ServerNeeds a syslog receiver (e.g. Syslog Watcher)Built into Windows

You can use both: EventLog Inspector forwards Windows events to your syslog server so everything appears in one place. See also Syslog for Windows.

Common devices that use syslog

  • Firewalls — blocked connections, policy changes, VPN events.
  • Switches and routers — link up/down, routing changes, ACL hits.
  • Wireless controllers — client connect/disconnect, rogue AP detection.
  • Linux serverssshd, nginx, systemd, and application logs.
  • Printers and UPS — status and error reports.

If a product has a “Syslog server” or “Remote logging” setting, it almost certainly speaks the syslog protocol.

Next steps

Now that you know what the syslog protocol is:

  1. Read What is a Syslog Server? — how collection and storage work.
  2. Follow How to Install Syslog Server on Microsoft Windows — set up Syslog Watcher on Windows.
  3. Download Syslog Watcher — try receiving syslog with a 30-day evaluation license in the installer.

For full product documentation, see the Syslog Watcher User Guide.