Contents

Chapter 1

Features

This chapter covers the core features and capabilities of Log Analyzer.

Features

  • Access log parsing — Handles Apache/Nginx Combined Log Format out of the box
  • Traffic analysis — Requests by hour, top paths, top IPs, status code breakdown
  • Error analysis — Error rates, top error paths, error trends over time
  • Anomaly detection — Statistical spike detection for traffic, IPs, and error rates
  • Pretty terminal output — Hourly traffic histograms, formatted tables
  • JSON export — Machine-readable reports for automation

Requirements

  • Python 3.10+
  • No external dependencies (stdlib only)
Chapter 2

Quick Start

Follow this guide to get Log Analyzer up and running in your environment.

Quick Start

bash
# Full analysis (traffic + errors + anomalies)
python src/log_analyzer.py --log examples/sample_access.log --report all

# Traffic analysis only
python src/log_analyzer.py --log examples/sample_access.log --report traffic

# Error analysis with top 20 paths
python src/log_analyzer.py --log examples/sample_access.log --report errors --top 20

# Anomaly detection with custom threshold (3 standard deviations)
python src/log_analyzer.py --log access.log --report anomalies --threshold 3.0

# Export to JSON
python src/log_analyzer.py --log access.log --report all --output report.json

Log Format

Parses Apache/Nginx Combined Log Format:

192.168.1.100 - - [14/Mar/2026:10:00:00 +0000] "GET /index.html HTTP/1.1" 200 2326 "https://example.com/" "Mozilla/5.0"

Fields parsed: IP, timestamp, method, path, status code, response size, referrer, user agent.

Chapter 3
🔒 Available in full product

Reports

Chapter 4
🔒 Available in full product

FAQ

You’ve reached the end of the free preview

Get the full Log Analyzer and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $19 →
📦 Free sample included — download another copy for the full product.
Log Analyzer v1.0.0 — Free Preview