NGINX Integration

Configure the Watchlog Agent to monitor your NGINX servers, access logs, and traffic metrics in real time.

1. Install Watchlog Agent

2. Configure Integration

After installing the agent, open integration.json in your agent directory and add the NGINX block:


  {
    "service": "nginx",
    "monitor": false,
    "accessLog": "/var/log/nginx/access.log"
  }
  

Then restart the agent to apply changes:

Linux Restart

pm2 restart watchlog-agent

Windows Restart

Restart-Service -Name "WatchlogAgent"

Explore NGINX Monitoring Capabilities

Origins

View request origins to understand traffic sources and geolocation distribution.

API Calls

Monitor API endpoints with real-time call counts to optimize performance.

Error Rate & Avg RPM

Track error percentages and average requests per minute for SLA adherence.

URLs & Status Codes

Analyze URLs, HTTP status codes, and request counts to identify hotspots.

Access Logs

Inspect raw log entries per URL for deep dive troubleshooting.

All metrics available in real time or custom time ranges via the Watchlog dashboard.

Start Monitoring NGINX