Works with the AI Agents you already use
Nginx/Apache Access Log Investigator
by Saizul Amin
Investigate server logs fast - summarise nginx/Apache access logs (status codes, top IPs, paths, user agents, 5xx and 404 hot spots, busiest minutes, scanner probes, slowest endpoints) with a script that reads rotated .gz files, plus journalctl, grep and awk recipes for systemd services, auth.log...
$5
Nginx/Apache Access Log Investigator
Example session with this skill installed
Summarise this nginx access log: top IPs, errors, slow endpoints and anything that looks like an attack.
- Read your context and instructions
- Compiled the nginx apache access
I ran the bundled script from the log-investigation skill and reviewed its findings.
Demo data: this is the real, unedited output of the skill's script on the test fixture that ships with its source repo.
Script output
Requests: 38 (unparsed lines: 1)
Window: 2026-11-21T10:00:00+00:00 .. 2026-11-21T10:59:30+00:00
Bytes: 107,803
Status: 2xx=25 4xx=6 5xx=7 5xx rate 18.42%
Top IPs
21 203.0.113.10
10 198.51.100.7
5 192.0.2.66
1 203.0.113.11
1 203.0.113.12
Top paths
20 /
6 /api/checkout
5 /api/products
1 /.env
1 /wp-login.php
1 /.git/config
1 /phpmyadmin/index.php
1 /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
1 /missing.png
1 /health
Paths returning 5xx
6 /api/checkout
1 /api/products
Paths returning 404
1 /.env
1 /wp-login.php
1 /.git/config
1 /phpmyadmin/index.php
1 /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
1 /missing.png
Busiest minutes
20 2026-11-21 10:00
10 2026-11-21 10:01
5 2026-11-21 10:02
1 2026-11-21 10:03
1 2026-11-21 10:30
IPs sending scanner probes (.env, wp-login, phpmyadmin, ...)
5 192.0.2.66
Top user agents
32 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0 Safari/537.36
5 zgrab/0.x
1 curl/8.5.0
Slowest paths (avg request_time)
30.001s avg 30.001s max 6x /api/checkout
0.500s avg 1.500s max 5x /api/products
0.012s avg 0.012s max 20x /
0.001s avg 0.001s max 1x /missing.png
0.001s avg 0.001s max 1x /health
Next steps
- Block or rate-limit abusive IPs at the firewall or CDN.
- Fix the endpoints producing 5xx errors.
- Re-run on a full day of logs to confirm the trend.
Connects securely to your tools. The creator never sees your data.
About this skill
Investigate server logs fast - summarise nginx/Apache access logs (status codes, top IPs, paths, user agents, 5xx and 404 hot spots, busiest minutes, scanner probes, slowest endpoints) with a script that reads rotated .gz files, plus journalctl, grep and awk recipes for systemd services, auth.log/SSH, kernel, PHP-FPM, MySQL and Docker logs.
When to use it
Use when the user asks what is in the logs, why errors or 5xx spiked, who is hammering the site, which IP or bot to block, what happened at a certain time, or to find the error behind a failing service.
How it works
The skill bundles a tested, offline Python script that does the deterministic checks, and instructions that tell your agent how to collect inputs, run the script, interpret the findings and give you a prioritised fix list. See the demo below for real output.
Requirements
- Python 3.8+ (standard library only unless noted in the skill)
- Works with Claude Code, Codex CLI, Cursor and other SKILL.md-compatible agents
Open source: saizul/vps-devops-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
Linux only
- Software
Python 3.8+