Ingress Traffic Capture
What You'll Learn
Use Cases
Prerequisites
Part 1: The Python Web Server
Install FastAPI and Uvicorn
Create the Web Server
Start the Server
Part 2: Qtap Configuration for Ingress
Create the Qtap Config
Part 3: Running Qtap and Testing
Step 1: Start Qtap (Before Making Requests!)
Step 2: Find Your Host's Network IP Address
Step 3: Allow Firewall Access (If Needed)
Step 4: Generate Test Traffic from Another Host
Step 5: View Captured Traffic
Part 4: Configuration Variations
Variation 1: Capture Both Ingress and Egress
Variation 2: Headers Only (No Bodies)
Variation 3: Filter Specific Endpoints with Rules
Variation 4: Production Setup with S3 Storage
Understanding the Output
What Qtap Captures for Ingress
Direction Field Explained
Troubleshooting
Not Seeing Any Traffic?
Seeing "l7Protocol": "other" instead of "http1"?
Too Much Noise from System Traffic?
Real-World Example: API Gateway Monitoring
Next Steps
Cleanup
Last updated