NGINX Traffic Capture
What You'll Learn
Use Cases
Prerequisites
Part 1: Simple NGINX Web Server
Step 1: Create NGINX Configuration
Step 2: Create Qtap Configuration
Step 3: Create Docker Compose Setup
Part 2: Running and Testing
Step 1: Start the Services
Step 2: Generate Test Traffic
Step 3: View Captured Traffic
Part 3: Advanced Configurations
Configuration 1: Capture Only Errors
Configuration 2: Separate Ingress and Egress Stacks
Configuration 3: Filter by API Endpoint
Configuration 4: Production Setup with S3
Part 4: Real-World Use Cases
Use Case 1: API Gateway Monitoring
Use Case 2: Debugging Reverse Proxy Issues
Use Case 3: Load Balancer Analytics
Understanding the Output
Dual Capture for Reverse Proxy
Capture Levels Explained
Troubleshooting
Not Seeing NGINX Traffic?
Seeing "l7Protocol": "other"?
"l7Protocol": "other"?Too Much Traffic Captured?
Duplicate Transactions?
Performance Considerations
NGINX + Qtap Performance Impact
Scaling Recommendations
Next Steps
Cleanup
Last updated