AlphaWe’re still building this tool. Results may be incomplete or inaccurate, and features may change.It’s publicly accessible so others can try it and share feedback.

Cloudflare Logpush

Stream Cloudflare HTTP request logs directly to AI Search Index for automatic AI bot detection.

Cloudflare plan requirement

Cloudflare Logpush is a Cloudflare Enterprise feature. AI Search Index supports Logpush on all AI Search Index tiers. If you don't have Cloudflare Enterprise, use Cloudflare Workers instead.

Endpoint

POST/api/v1/logs/cloudflare_logpush
https://aisearchindex.com/api/v1/logs/cloudflare_logpush

Setup Steps

  1. 1

    Open Cloudflare Dashboard

    Go to Analytics & LogsLogs

  2. 2

    Create Logpush Job

    Click Add Logpush job

  3. 3

    Select Dataset

    Choose HTTP Request as the dataset

  4. 4

    Choose Destination

    Select HTTP as the destination type

  5. 5

    Configure Destination URL

    Enter the destination URL with your Bot Tracking Key:

    Destination URL
    https://aisearchindex.com/api/v1/logs/cloudflare_logpush?header_X-API-Key=bot_YOUR_BOT_TRACKING_KEY
  6. 6

    Configure Fields

    Select the following fields (at minimum):

    • ClientIP
    • ClientRequestHost
    • ClientRequestMethod
    • ClientRequestPath
    • ClientRequestUserAgent
    • EdgeResponseStatus
    • EdgeStartTimestamp
  7. 7

    Save & Enable

    Click Save to create the Logpush job. Logs will start flowing within a few minutes.

Verify Integration

After setup, verify logs are being received:

  1. Wait 5-10 minutes for initial logs to arrive
  2. Visit your website to generate some traffic
  3. Check your AI Search Index dashboard for incoming data
  4. Look for the "CDN Logs" source indicator on page views

Don't have Cloudflare Enterprise?

Use Cloudflare Workers to stream logs on any Cloudflare plan.

Cloudflare Workers Guide