Skip to main content
A Netlify Log Drain posts your site’s traffic logs to Quotable as JSON. Nothing runs in your request path.

Requirements

  • Netlify Enterprise. Log Drains are an Enterprise feature on Netlify.
  • Permission to manage the site’s Log Drains.
What it measures: every field except cache status.

Set up

1

Create the source in Quotable

In Agent Analytics, select Connect source, choose Netlify and select Generate credentials. Copy the token and the endpoint URL.
2

Create a Log Drain

In Netlify, open the site, go to the Log Drains settings and enable a drain:
  • Log type: traffic logs only. Function and edge function logs don’t describe requests and are dropped as invalid_record.
  • Destination: general HTTP endpoint, with your endpoint URL.
  • Header: Authorization with the value Bearer aa_live_….
3

Confirm delivery

Select Check now in Quotable.

Deploy previews and branch deploys

Only production traffic is counted. Records from a deploy preview or branch deploy are dropped as environment_filtered, so a preview’s crawls don’t distort your production numbers.

Rotate the token

  1. Rotate the token in Quotable. The old token stops working immediately.
  2. Edit the drain’s Authorization header in Netlify.

Disconnect

Delete the drain in Netlify, then disconnect the source in Quotable.

Troubleshooting

Next steps

Read the dashboard

What to look at once data arrives.

Troubleshooting

Fix deliveries that fail or arrive empty.
Last modified on November 18, 2026