Respond to Incidents Faster
Go from a high-level alert to a precise root cause. Instantly analyze performance spikes and error rates to understand the blast radius of an outage.
loglens stats describe incident.jsonl latency_ms --where 'status_code >= 500'
Understand Unfamiliar Logs
Dropped into a new project? Get an instant, high-level overview of any log directory: fields, statistics, and time ranges.
loglens stats summary logs/
Discover Log Schema
Don't guess field names. Instantly generate a schema showing every available field, data type, frequency, and example values.
loglens fields --details logs/
See Context Around Errors
The real challenge is understanding what led to an error. Use the context flag (-C) to see events before and after the crash.
loglens search ./logs/ "failed" -C 3
Reconstruct User Timelines
Debug single-user issues by combining time filtering with user matching. Use -B (before) and -A (after) to build a narrative.
loglens query auth.log 'user_id is "u_123"' -B 10 -A 5
Debug Microservice Traces
Follow a request's trace_id across distributed services. Collate logs into one file and analyze the lifecycle interactively.
loglens search ./logs/ "trace-123" > t.log && loglens tui t.log
Monitor Live Deployments
Stop drowning in tail -f. Watch logs in real-time with server-side filtering to see only critical errors as they happen.
loglens watch ./api/ --where 'status >= 500'
Slash Cloud Costs
Archive logs to cheap S3 cold storage. LogLens analyzes massive, compressed .gz files locally without extraction.
loglens tui ./archives/prod-2025.log.gz
Deep-Dive Performance Stats
Spot bottlenecks by grouping endpoint latencies, then calculate P95/P99 stats for the slowest ones.
loglens stats group-by ./api/ --by "endpoint" --avg "latency"
Pinpoint Outage Roots
Find the slowest endpoint specifically during errors. Filter by status code to see what's actually breaking production.
loglens stats group-by ./api/ --where "status >= 500"
Ready to Solve Your Toughest Problems?
Get started for free or unlock the full power of LogLens with a Pro license.