Overview
Vercel log drains forward your deployment logs to Squasher over HTTPS. Squasher filters for error and fatal entries, groups them, and runs AI triage automatically. This is the fastest way to get started — no SDK, no code changes, no redeployment.Setup
Get your drain URL
Find your project ID in the Squasher dashboard under Settings > General.Your drain URL is:
Add the drain in Vercel
- Go to your Vercel project Settings > Log Drains
- Click Add Log Drain
- Select Custom as the destination
- Enter your drain URL
- Select NDJSON as the format
- Under Sources, select at least
lambdaandedge - Under Environments, select
production(and optionallypreview) - Click Create
What Gets Captured
Squasher ingests all log entries but only creates error groups from:- Entries with
levelset toerrororfatal - Entries with
statusCode>= 500 - Entries with
statusCode= -1 (lambda crash, no response returned)
Log Entry Fields
Squasher processes these fields from each Vercel log entry:| Field | Description |
|---|---|
message | Log message content |
level | Severity: info, warning, error, fatal |
source | Origin: build, lambda, edge, static |
statusCode | HTTP response status code |
path | Request path |
deploymentId | Vercel deployment identifier |
environment | production or preview |
requestId | Unique request ID for tracing |