Documentation Index
Fetch the complete documentation index at: https://docs.searchable.com/llms.txt
Use this file to discover all available pages before exploring further.
What this does
Netlify’s HTTP Log Drain streams every inbound request log entry 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 Netlify dashboard.
Prerequisites
A Netlify team on the Enterprise plan
Team Owner access in Netlify (Log Drain settings are team-level)
A Searchable project with your domain confirmed
Setup
Generate an integration token in Searchable
- Open your Searchable dashboard
- Go to Agent Analytics → Setup
- Pick Netlify Log Drain 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.Open Netlify's Log Drain settings
Navigate to your Netlify team:Team settings → Log drains → Add log drainThis setting is team-level, not site-level. You need Team Owner access to see it.
Configure the drain
Fill in these fields:
| Field | Value |
|---|---|
| Service | HTTPS endpoint |
| Endpoint URL | https://searchable-tracker.searchable.workers.dev/v1/netlify-logs |
| Format | JSON (Netlify delivers NDJSON over HTTPS) |
| Custom header name | Authorization |
| Custom header value | Bearer <your-sa_-token> |
Verifying the connection
In Searchable:- Go to Agent Analytics → Setup
- Look at the Netlify Log Drain card status
- Click Check if it still shows “Waiting for first event”
| Status | What it means |
|---|---|
| Waiting for first event | The drain is configured but no AI bot has hit your site yet. Typical wait is a few hours for sites that are already indexed. |
| Connected | Events are arriving. The card shows the count from the last 24 hours. |
Troubleshooting
Searchable shows 401 errors or the card stays 'Not connected'
Searchable shows 401 errors or the card stays 'Not connected'
The Authorization header is missing or wrong.
- Make sure you added a custom header named exactly
Authorization - The value must be
Bearerfollowed by the fullsa_…token, with one space and no quotes - If you’ve recently revoked the token in Searchable, generate a new one and update the drain
Netlify reports delivery errors
Netlify reports delivery errors
Check the drain format setting.
- The format must be set to JSON (which delivers NDJSON over HTTPS) — not Datadog, Splunk, or any other structured format
- If the format was wrong, update it and save — Netlify will retry pending deliveries
I don't see the Log Drain option in Netlify
I don't see the Log Drain option in Netlify
Log Drains are only visible to Team Owners on the Enterprise plan. If you don’t see Team settings → Log drains:
- Confirm you have Team Owner access (not just Member)
- Confirm your Netlify team is on the Enterprise plan
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 or is paused — check Netlify’s Team settings → Log drains
- Your domain in Searchable doesn’t match the site on Netlify (check Agent Analytics → Setup → Confirm your domain)
- The drain is configured but no AI bot has visited yet — try visiting your site with a known AI user agent to trigger a test event
Removing the integration
To stop sending traffic to Searchable:- Netlify → Team settings → Log drains → delete the drain
- Searchable → Agent Analytics → Setup → Tokens → revoke the token
401).
Next steps
See the data
Open Agent Analytics to see which assistants are crawling your site.
Add Search Console
Correlate AI crawls with search demand.