Netlify

Send your Netlify logs to Robot Speed via Log Drains. We automatically filter AI bot visits.

Note: Netlify Log Drains are only available on Enterprise plans. If you're on a Free/Pro/Business plan, use the Cloudflare Worker method instead (works with Cloudflare's free plan).

Prerequisites

  • βœ“A Netlify Enterprise account
  • βœ“Your Robot Speed API key (Settings β†’ API)
1

Open Log Drains

Site settings β†’ Logs & Metrics β†’ Log Drains β†’ Add log drain

2

Configure the drain

Type: General HTTP endpoint

URL

https://www.robot-speed.com/api/ai-bot-visits/netlify

Authorization

Bearer your_rs_api_key
3

Disable unnecessary logs

Disable logs that aren't needed:

  • βœ• Function logs
  • βœ• Edge function logs
  • βœ• Deploy logs
  • βœ• WAF logs

Important: Do not enable the PII exclusion option. Robot Speed needs user_agent and client_ip fields to identify AI bots.

4

Connect

Click Connect. AI crawler data will appear in your Robot Speed dashboard within minutes.