What this does
Vercel’s Log Drain feature streams every inbound request to a destination of your choosing. We point that drain at Searchable’s ingest endpoint, classify the AI bots, and drop everything else.No code changes. All configuration is done inside the Vercel dashboard.
Prerequisites
A Vercel project on the Pro or Enterprise plan (Log Drains aren’t available on Hobby)
Owner or Member-with-admin access to the Vercel project
A Searchable project with your domain confirmed
Setup
1
Generate an integration token in Searchable
- Open your Searchable dashboard
- Go to LLM Analytics → Setup
- Pick Vercel as your crawler source
- Click Generate token
sa_… and won’t be shown again. You can always generate a new one if you lose it.2
Open Vercel's Log Drain settings
Navigate to your Vercel project:Project Settings → Log Drains → AddOr open it directly: vercel.com/dashboard/log-drains
3
Configure the drain
Fill in these fields:
4
Save and verify
Click Save. Vercel sends a verification ping to the endpoint immediately — Searchable accepts it.Then return to LLM Analytics → Setup in Searchable. The status strip at the bottom should show Connected within a few minutes once an AI bot hits your site.
What Searchable receives
For each request, the Log Drain sends a small NDJSON record with:- HTTP method, path, host (query strings stripped before storage)
- User agent
- Referer
- Status code, response bytes
- Timestamp
- Geo country (from Vercel’s edge metadata)
Verifying the connection
In Searchable:- Go to LLM Analytics → Setup
- Look at the status strip at the bottom of the page
- Click Check if it still shows “Waiting for first event”
You can also confirm in Vercel: Log Drains → your drain → Deliveries. Successful deliveries return
204 No Content.
Troubleshooting
Vercel reports `400 Bad Request` deliveries
Vercel reports `400 Bad Request` deliveries
The delivery format isn’t NDJSON.
- In the drain settings, set Delivery format to
NDJSON(not JSON or Logfmt) - Save the drain — Vercel will retry pending deliveries
Status stays on 'Waiting for first event' for more than 24 hours
Status stays on 'Waiting for first event' for more than 24 hours
A few possible causes:
- The drain isn’t enabled (check Vercel — drains can be paused)
- The selected sources don’t include the routes AI bots are hitting (re-check Sources includes Static Files and Functions)
- Your domain in Searchable doesn’t match the project on Vercel (check LLM Analytics → Setup → Confirm your domain)
My plan is Hobby — can I still use this?
My plan is Hobby — can I still use this?
Log Drains are a Pro / Enterprise feature on Vercel. On Hobby, your options are:
- Upgrade Vercel to Pro
- Use the Cloudflare Worker path if your domain sits behind Cloudflare
- Use the custom REST API path with Next.js middleware
Removing the integration
To stop sending traffic to Searchable:- Vercel → Project Settings → Log Drains → delete the drain
- Searchable → LLM Analytics → Setup → Tokens → revoke the token
401).
Next steps
See the data
Open LLM Analytics to see which assistants are crawling your site.
Add Search Console
Correlate AI crawls with search demand.