Filtering
Control which traffic APXY captures using filter rules.
Web UI
Open Filters from the Modify group. The page provides:
- Block rules form — add host patterns to exclude from capture
- Allow rules form — add host patterns to capture exclusively
- A list of active filter rules with delete buttons
- Access to recording controls so you can pause or resume capture while tuning rules
The Traffic page also has a built-in filter panel with:
- Protocol tabs (All/HTTP/HTTPS/WebSocket/JSON)
- Manual pinning of filters
- Saved filter presets
CLI
Block rules
Exclude noisy domains from capture:
# Block analytics and CDN traffic
apxy traffic filter set --type block --target "analytics.google.com"
apxy traffic filter set --type block --target "*.googleapis.com"
apxy traffic filter set --type block --target "cdn.example.com"Blocked traffic is still forwarded to the server — it’s just not recorded by APXY.
Allow rules
When allow rules are set, only matching hosts are captured — everything else is ignored:
# Only capture traffic to your API
apxy traffic filter set --type allow --target "api.myapp.com"Managing filters
# List active filters
apxy traffic filter list
# Remove a filter
apxy traffic filter remove --id <rule-id>Recording control
Pause and resume traffic recording without stopping the proxy:
# Pause recording (proxy continues forwarding)
apxy recording stop
# Resume recording
apxy recording start
# Check recording status
apxy recording statusThis is useful during noisy operations — pause before loading a page with many assets, then resume before the specific API call you want to capture.
Clearing traffic
# Delete all captured traffic
apxy logs clearFor a broader overview of where filters live in the interface, see Web UI.
Last updated on