Skip to main content
Netlify Log Drains are only available on Netlify Enterprise plans.

Step 1: Create an API Key

Create an API key in Promptwatch. Go to Settings → API Keys in your Promptwatch dashboard.

Step 2: Enable Log Drain

In your Netlify Dashboard, select your site and navigate to Logs & Metrics → Log Drains. Click Enable a log drain. Select General HTTP endpoint as the Log drain service.

Step 3: Configure Log Drain

Uncheck:
  • Function logs
  • Edge function logs
  • Deploy logs
  • WAF logs
DO NOT select “Exclude personally identifiable information” — Promptwatch requires the user_agent and client_ip fields to identify AI crawlers.
Service Settings Full URL:
https://logs.promptwatch.com/event/netlify
Authorization Header: Bearer YOUR_API_KEY Log Drain Format: JSON

Step 4: Finish

Click Connect to finish. When AI crawlers visit your website, the stats will show in your Promptwatch dashboard. Data should begin appearing within a few minutes.
If you see the error “incorrectly configured GetURL, validation request returns status code 400”, check that you have prefixed your token with Bearer.