Syslog Parser: RFC 3164 and RFC 5424 with Facility and Severity
Splits syslog lines into fields and decodes the priority into facility and severity names.
Use the tool
Why this tool exists
The number in angle brackets at the start of a syslog line is facility times 8 plus severity. This tool does the arithmetic and shows names such as auth and crit. The code tables come from RFC 5424.
RFC 3164 lines, RFC 5424 lines with structured data and plain file lines from /var/log/syslog are supported. 3164 timestamps have no year or zone.
How to use it
- Paste syslog lines or choose a file.
- Optionally show only a severity and worse.
- Choose summary or table output.
- Export CSV or JSON if needed.
Frequently asked questions
Why are facility and severity empty?
File lines in /var/log have no PRI number. Only network syslog carries it.
What if some lines do not match?
They are skipped and the result says how many. Unusual vendor formats are not recognised.
What is the PRI formula?
PRI = facility * 8 + severity, so <34> is facility 4 (auth) severity 2 (crit).
Is my log uploaded?
No. Parsing happens in your browser and nothing is sent. Logs can hold IP addresses and tokens, so the page does not write them into the address bar.