early beta

loghew

A modern, high-performance log viewer for the terminal. Search, filter, bookmark, and navigate massive log files with ease.

$curl --proto '=https' --tlsv1.2 -LsSf https://github.com/nehadyounis/loghew/releases/latest/download/loghew-installer.sh | sh
loghew — test.log
1522024-11-15 06:00:16.773 [INFO ] [load-balancer] Request completed: GET /api/v1/products/{ id} 201 Created (3ms)
153 Request details: {
154 "request_id": "097ffa4",
155 "method": "POST",
156 "path": "GET /api/v1/products",
157 "user_agent": "python-requests/2.31.0",
158 "remote_addr": "192.168.61.104"
159 }
1602024-11-15 06:00:16.775 [INFO ] [scheduler] Database migration applied: v3.2.28
1612024-11-15 06:00:16.780 [INFO ] [load-balancer] Health check passed: all 187 dependencies healthy
1622024-11-15 06:00:16.790 [TRACE] [cache-manager] Exiting method processRequest
1632024-11-15 06:00:16.792 [DEBUG] [load-balancer] Retry attempt 677/3 for request 06a3545
1642024-11-15 06:00:16.842 [INFO ] [notification-service] Request completed: GET /api/v1/health → 204 No Content (5678ms)
1652024-11-15 06:00:16.862 [INFO ] [auth-service] Request completed: POST /api/v1/webhooks → 204 No Content (1ms)
1662024-11-15 06:00:16.872 [DEBUG] [api-gateway] Connection acquired from pool (active: 12/20)
1672024-11-15 06:00:16.892 [INFO ] [scheduler] Order #16822 created: total=$406.87 items=11
1682024-11-15 06:00:16.893 [WARN ] [message-queue] Deprecated API endpoint called: GET /api/v0/users (client: curl/7.88.1)
Type to search·/ for commands·Esc quit
test.log121,270 linesline 69
6,76514,61754,02613,596

Commands

Type / to do anything

Start typing to search. Slash commands handle the rest.

.*/regex/r

Regex search

/r error.*timeout
🎯/only-show

Filter to matching lines

/only-show ERROR
🕒/time/t

Jump to time — absolute or relative

/t 14:30 /t -5m
🔖/bookmark/b

Named bookmarks you can jump back to

/b deploy-start
🔔/notify/n

Desktop notifications on pattern match

/n FATAL
/follow/f

Auto-scroll as new lines come in

Δ/delta/d

Show time gaps between log entries

⚙️/config

Tweak theme, scroll speed, line numbers