Recall Query Language
Recall uses a simple but powerful query language for searching logs.Basic Syntax
Text Search
Search for text in log messages:Field Filters
Filter by specific fields:Available Fields
| Field | Description | Example |
|---|---|---|
level | Log level | level:error or level:error,warn |
env | Environment | env:production |
service | Service name | service:api |
commit | Git commit | commit:abc123 |
branch | Git branch | branch:main |
request_id | Request ID | request_id:abc-123 |
session | Session ID | session:sess_xxx |
host | Server hostname | host:web-1 |
Time Filters
Filter by time range:JSONB Data Queries
Query nested data in thedata field:
Operators
Negation
Prefix with! to negate:
Combining Filters
All filters are AND’d together:Commands
Pipe to commands for aggregation:Stats
Sorting
Limiting
Examples
Find errors in production
Find slow requests
Find logs for a specific user
Find payment failures
Get error stats by commit
Find all logs for a request
Dashboard Shortcuts
The dashboard provides quick filters:- Errors -
level:error since:1h - Fatal -
level:fatal since:24h - Production -
env:production since:1h - Last 15m -
since:15m