Skip to Content

Logs

APXY stores all captured traffic in a SQLite database. You can query, search, and analyze it through the CLI and the Web UI.

Web UI

In the Capture group, the Traffic view shows all captured logs in a live-updating table:

  • Click any row to see full request/response details
  • Use protocol tabs (All/HTTP/HTTPS/WebSocket/JSON) to filter by type
  • Search by URL, host, method, or status in the filter panel
  • Toggle between comfortable and compact density views

Use the Analyze views when you want aggregate summaries after reviewing individual requests.

CLI

Viewing logs

# List recent traffic apxy logs list --limit 20 # With specific format apxy logs list --format markdown apxy logs list --format json apxy logs list --format toon

Searching logs

# Search by URL, host, method, or status apxy logs search --query "api.example.com" # Search across request/response bodies apxy logs search-bodies --pattern "error" --scope response

Traffic statistics

apxy logs stats

Shows record counts, breakdowns by method and status.

Clearing logs

apxy logs clear

For advanced SQL queries against the traffic database, see SQL Queries.

For deeper inspection patterns, continue to Proxy Traffic and Request & Response Viewer.

Last updated on