A modern, dark-themed log analysis and threat hunting tool for security teams.
auth.log, access.log, error.log| Color | Meaning |
|---|---|
| 🔴 RED | Failed logins, auth failures |
| 🟢 GREEN | Successful logins, 200 OK |
| 🟠 ORANGE | Invalid users, 400/403 errors |
| 🟡 YELLOW | Disconnects, 404 errors |
| 🟣 PURPLE | Scanners (zgrab, Censys, Shodan, bots) |
| 🔵 BLUE | Info, 3xx redirects, CRON sessions |
| ⬛ GRAY | Unknown/other events |
| ❗ CRITICAL | Malware (Mozi), path traversal, RCE attempts |
# Clone or copy the project
cd loghunter
# Build and start
docker compose up -d
# Open in browser
open http://localhost:5000
The container will automatically detect and show any mounted system logs in the UI.
pip install -r requirements.txt
python app.py
The docker-compose.yml mounts the following host paths as read-only:
| Host Path | Container Path | Type |
|---|---|---|
/var/log/auth.log | /var/log/auth.log | Auth log |
/var/log/syslog | /var/log/syslog | Syslog |
/var/log/apache2/ | /var/log/apache2/ | Apache logs |
/var/log/nginx/ | /var/log/nginx/ | Nginx logs |
To mount a custom logs directory, uncomment the last volume line in docker-compose.yml:
- ./sample-logs:/logs:ro
auth.log, /var/log/secure).git, .env, wp-config.php, etc.| Method | Path | Description |
|---|---|---|
| GET | / | Main UI |
| POST | /api/parse | Upload and parse log file |
| GET | /api/system-logs | List mounted system logs |
| POST | /api/load-system-log | Load a system log by path |
| POST | /api/export | Export events as CSV/JSON |
loghunter, UID 1000):ro)/var/log/ and /logs/ can be loaded via APIContent type
Image
Digest
sha256:71cc481ad…
Size
46.3 MB
Last updated
6 months ago
docker pull oste/loghunter