Skill Detail

Nginx Error Pattern Analyzer

Analyzes Nginx error logs using GoAccess and custom regex parsers to identify recurring 502/503 patterns. Correlates upstream timeout errors with backend service health via Prometheus PromQL queries.

Runbooks & DiagnosticsCustom Agents

Analyzes Nginx error logs using GoAccess and custom regex parsers to identify recurring 502/503 patterns. Correlates upstream timeout errors with backend service health via Prometheus PromQL queries.

Runbooks & Diagnostics Custom Agents Security Reviewed
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill nginx-error-pattern-analyzer-agent Copy

The Nginx Error Pattern Analyzer processes Nginx error and access logs to identify recurring failure patterns and their root causes. It combines GoAccess for real-time log parsing with custom regex-based pattern matching to categorize errors by type, frequency, and impact.

The agent focuses on critical error patterns including upstream connection timeouts, 502 Bad Gateway spikes, 503 Service Unavailable patterns, SSL handshake failures, and rate limiting events. It correlates Nginx error timestamps with backend service metrics via Prometheus PromQL queries to establish causation between upstream service degradation and frontend errors.

Advanced analysis features include request path clustering to identify which API endpoints trigger the most errors, geographic correlation using GeoIP data, and time-series anomaly detection for unusual error rate spikes. The agent generates incident-ready reports with timeline visualizations, affected endpoint summaries, and recommended Nginx configuration changes (timeout adjustments, buffer sizes, retry policies) to mitigate identified issues.