Skip to main content
Cloudflare Logpush is currently an Enterprise-only feature. If you don’t see the Logpush option, you’ll need to upgrade to the Enterprise Cloudflare plan.

Step 1: Create an API Key

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

Step 2: Create a Logpush Job

Go to your Cloudflare dashboard, select your domain and navigate to Analytics & Logs > Logpush > Create a Logpush job.

Step 3: Configure HTTP Destination

For destination select HTTP destination. Enter the following HTTP endpoint URL:
https://logs.promptwatch.com/event/cloudflare?header_authorization=Bearer%20YOUR_API_KEY
Replace YOUR_API_KEY with your actual API key.

Step 4: Configure Logpush Job

For dataset select HTTP Requests and configure the logpush job as follows: Name: promptwatch-crawler-logs If logs match:
  • Field: ClientRequestHost
  • Operator: Equals
  • Value: YOUR_DOMAIN (example: app.promptwatch.com)
Send the following fields: Request
  • ClientIP
  • ClientRequestHost
  • ClientRequestMethod
  • ClientRequestReferer
  • ClientRequestURI
  • ClientRequestUserAgent
General
  • WorkerSubrequest (allows us to filter out requests initiated from a Worker, since they will be seen as duplicate)
Performance
  • EdgeStartTimestamp
Response
  • EdgeResponseContentType
  • EdgeResponseStatus
Advanced options: Keep the default settings as is. The timestamp format should be rfc3339, which is the default format.

Step 5: Verify Cloudflare Proxy is Enabled

Verify your domain’s DNS records have the Cloudflare proxy enabled (orange cloud icon). Logpush for HTTP Requests only captures traffic that flows through the Cloudflare network. If the proxy is off (gray cloud / “DNS only”), Cloudflare never sees the requests and can’t push logs. Go to your Cloudflare dashboard → DNSRecords and make sure the Proxy status shows the orange cloud (“Proxied”) for your domain’s A/AAAA/CNAME records. Cloudflare DNS proxy enabled

Step 6: Finish

Once submitted, your Cloudflare Logpush job will automatically send crawler logs to Promptwatch when an AI crawler visits your website. Depending on how active your website is, this can take a few minutes to appear.