Tools / Log Viewer

Log Viewer.

Parse pasted logs into a table and filter by level or text — JSON lines, Laravel, nginx/Apache, syslog.

Runs in your browser

auto detects the format of every line separately

Any level other than all hides lines whose level could not be detected

Ctrl/⌘ + Enter to run · Ctrl/⌘ + Shift + C to copy the result

Result
Entries
Stats

About Log Viewer

Log Viewer turns a wall of pasted log text into a table with one row per entry: the line number, the timestamp, a normalised level and the message. It recognises the formats you meet most often on a server. JSON lines from pino, Monolog's JSON formatter or a cloud logging export are read field by field, including numeric levels such as pino's 50 or Monolog's 400. Laravel's default log lines are split into environment, level and message, and the stack trace that follows an exception stays attached to its entry instead of becoming dozens of rows. nginx and Apache combined access logs get a level from the status code, so 5xx responses show up as errors and 4xx as warnings. RFC 3164 and RFC 5424 syslog lines are parsed too, and anything else falls back to plain text with the first ISO timestamp and an upper-case level word picked out. For example, paste the last hundred lines of storage/logs/laravel.log, set the minimum level to error and search for SQLSTATE to see only failed queries. A common surprise is that a minimum level hides lines whose level could not be detected, such as bare text lines; switch back to all to see them. Another is forcing a format that does not match: forced mode tries only that parser, so mismatched lines are shown as plain text. The stats panel counts entries per level and lists the formats found. Everything runs in your browser, so production logs with customer data never leave your machine.

How to Use

  1. Paste log lines into the input; mixed formats are fine in auto mode.
  2. Pick a minimum level, type a search term or lower the row limit to narrow the table.
  3. Read the entries table and the per-level stats, then copy or download the result.

Frequently Asked Questions

Which log formats are recognised?

JSON lines (pino, Monolog JSON, Bunyan and similar), Laravel/Monolog line format, nginx and Apache combined or common access logs, RFC 3164 and RFC 5424 syslog, and plain text with an ISO timestamp and a level word.

How are multi-line stack traces handled?

Lines that start with whitespace, "#0", "Caused by:", "Stack trace:" or similar are appended to the previous entry. After a Laravel entry every following line is kept with it until the next timestamped line.

Why do some lines disappear when I choose a minimum level?

A minimum level keeps only entries whose level is known and at least that severe. Lines without a detectable level are shown only when the filter is set to all.

Are my logs uploaded?

No. Parsing and filtering run in your browser and the page makes no network requests while you use it. Large pastes are processed in a background worker.

Related Tools