| name | vercel-log-drains-webhooks |
| description | Receive and verify Vercel Log Drains deliveries. Use when setting up a Vercel log drain HTTP endpoint, debugging x-vercel-signature verification, handling the x-vercel-verify endpoint handshake, or processing batched log entries from sources like lambda, edge, build, static, external, firewall, and redirect.
|
| license | MIT |
| metadata | {"author":"hookdeck","version":"0.1.0","repository":"https://github.com/hookdeck/webhook-skills"} |
Vercel Log Drains Webhooks
Vercel Log Drains forward deployment logs to any HTTPS endpoint you configure.
These are HTTP log-drain deliveries (not "Vercel webhooks" and not Standard
Webhooks): Vercel POSTs batches of log entries and signs the raw body with
HMAC-SHA1.
When to Use This Skill
- How do I receive Vercel Log Drains?
- How do I verify the
x-vercel-signature header?
- How do I complete the
x-vercel-verify endpoint handshake?
- Why is my Vercel log drain signature verification failing?
- How do I parse batched log entries (JSON array or NDJSON)?
- How do I handle logs from
lambda, edge, build, or firewall sources?
Verification (core)
Vercel signs the raw request body with HMAC-SHA1 keyed on your drain's
signature secret and sends the digest in the
header (the raw digest — no prefix). Use the body (do not
re-serialize), and compare timing-safe.