Cut through noise with effective filtering

The filter system is your most powerful tool for efficient log analysis. Learn when to use each filter mode, combine strategies, and navigate logs quickly.

Overview

Request Logs can contain thousands of entries across production traffic, playground tests, and CI/CD runs. Without effective filtering, you'll waste time scrolling through irrelevant data. Mastering the filter system makes debugging 10x faster.


Filter modes explained

When to use each filter

FilterWhen to useWhat it shows
All requestsBroad investigation, searching for a specific requestEverything
Live modeDebugging production issues, monitoring healthReal API calls only
Test modeReviewing CI/CD results, integration testsAPI calls with test flag
Playground (Production)Validating workflow changesConsole tests with real providers
Playground (Test mode)Testing workflow structureConsole tests with sample data
All PlaygroundReviewing all console testingBoth playground types

Decision tree

Are you debugging a production issue?
Use "Live mode"
 
Are you reviewing test results?
From CI/CD or API tests: Use "Test mode"
From console: Use "All Playground"
 
Are you investigating a specific request?
Use "All requests" and search
 
Are you monitoring overall health?
Start with "Live mode"

Filtering strategies

Strategy 1: Funnel approach

Start broad, then narrow down:

  1. All requests — Get the big picture
  2. Live mode — Focus on production
  3. Error status — Focus on failures
  4. Time range — Focus on when the issue occurred
  5. Click to inspect — Drill into specific requests

Strategy 2: Environment isolation

Match your filter to your current task:

Deploying a workflow change:
1. Test in Playground (Test mode) filter "Playground (Test mode)"
2. Validate in Playground (Production) filter "Playground (Production)"
3. Deploy and monitor filter "Live mode"
4. Each phase uses a different filter to avoid cross-contamination

Strategy 3: Comparative analysis

Use filters to compare behavior across environments:

  1. Run the same prompt in Playground (Production)
  2. Find the same prompt in Live mode
  3. Compare request/response payloads between the two
  4. Differences may explain production-only issues

Identifying requests by seed_batch

Each request type has a seed_batch prefix that helps categorize it:

PrefixSourceFilter mode
live:Real API callsLive mode
test:API calls with test flagTest mode
pg:Console playground (production)Playground (Production)
pg_test_mode:Console playground (test mode)Playground (Test mode)
callback:Backend callbacks(included in parent request's timeline)
pg_callback:Playground callbacks(included in parent request's timeline)

Tips for efficient navigation

  • Use the refresh button after making API calls to see the latest logs immediately
  • Scan status badges first — Green means OK, red needs attention, amber means failover was needed
  • Check failed models count — A badge like "2 failed" tells you before you even click
  • Look at duration outliers — Requests much slower or faster than average deserve attention
  • Use pagination wisely — Don't load all pages; focus on the relevant time window first

Next steps