All Tools View Categories About Contact Privacy

Log Line Counter

Count lines by level, day, IP or a custom pattern.

Runs entirely in your browser — your logs never leave this page.
0
total lines
0
matched
0
buckets

  

About Log Line Counter

Counting is the first question of any log review: how many, how often, how much. Log Line Counter tallies lines by level, by day, by client IP, or against any pattern you supply — every answer with exact numbers.

It runs instantly in the browser, so repeated counting across windows becomes a click rather than a grep pipeline.

Features

  • By level — severity histogram.
  • By day — volume over dates.
  • By IP — who is loudest.
  • By pattern — arbitrary regex counting.
  • Total — exact line count.

How to Use

  1. Paste log lines.
  2. Pick a counting dimension.
  3. Optional custom pattern.
  4. Count. Bucket totals appear.

Examples

Example 1 — Severity mix. Count by level to see your ERROR:WARN:INFO ratio at a glance.

Example 2 — Day-over-day. Count by day to spot the spike that matters before reading a single line.

Example 3 — Custom pattern. Count lines matching "retry" or "deadlock" to quantify a failure loop.

Benefits

  • Instant tallies — no shell needed.
  • Multiple dimensions — one tool for all.
  • Regex support — arbitrary patterns.
  • Private — all client-side.

Frequently Asked Questions

What can I count?
Total lines, lines per level, lines per day, lines matching a custom pattern, and lines per client IP. Each counter reports bucket + count.
How is "per level" detected?
Bracketed or bare tokens like [ERROR], WARN, INFO, DEBUG, TRACE, FATAL at word boundaries, case-insensitive.
Can I count by something custom?
Yes — enter any regular expression in the "count by pattern" box, and every line matching it is counted (plus per-capture breakdown when your pattern has capture groups).
Do dates need a specific format?
The per-day counter reads the leading date in ISO (2025-06-11), Apache [11/Jun/2025:...], syslog (Jun 11) and epoch formats.
Is there a limit?
No — counts run fully in the browser on any paste size.