Nginx & Apache Access Log Analyzer
Analyze raw Nginx or Apache combined access logs in your browser to summarize 2xx/3xx/4xx/5xx ratios, bandwidth transferred, top IPs, slowest upstreams, and top error endpoints.
Input & Options
Local JS Execution
Parsed Output & Diagnostics
Ready
Status
...
Generated Output
Access Log Status Diagnostics
| Status Spike | Common Cause | First Check |
|---|---|---|
| 502 / 504 Bad Gateway | Upstream app crashed or request exceeded proxy_read_timeout | Check upstream service systemd logs & timeouts |
| 429 Too Many Requests | Nginx limit_req or downstream API rate limit | Inspect top client IPs and X-Forwarded-For |
| 404 on /.env, /wp-login.php | Automated internet vulnerability scanner noise | Confirm WAF/deny rules return 404/444 cleanly |
| 304 Not Modified | Conditional browser cache revalidation | Good; validates ETag / Cache-Control effectiveness |
Parser Methodology & Privacy Guarantees
Matches each non-empty line against Combined/Common Log Format patterns, buckets status codes by HTTP class, ranks top requested paths and client IPs, and computes optional upstream latency averages.
- Extracts client IP, method, request URI path, HTTP status code, response bytes, and optional `rt=`/`request_time=` latency.
- Aggregates hit counts, error counts, and bandwidth per endpoint.
- Surfaces alerts when 5xx server error rates exceed 1% or when scanner probes hit sensitive paths.
Scope & limitations: Custom JSON-formatted Nginx logs require field mapping or jq normalization prior to pasting if they do not follow Apache/Nginx Combined syntax.
Frequently Asked Questions
Are raw server IP addresses uploaded anywhere when using this analyzer?
Never. Both pasted snippets and local .log files loaded with FileReader stay entirely inside your browser.
How do I log request latency in Nginx?
Add rt=$request_time upstream_time=$upstream_response_time to your log_format directive in nginx.conf so this parser extracts p95/avg latency automatically.
Can it handle millions of lines?
Browser memory handles ~10k to 100k lines smoothly in milliseconds. For multi-GB logs, filter with tail or grep first or load focused incident windows.