Vercel
Connect your Vercel project logs to Limy Analytics using a custom Log Drain.
Last updated
Connect your Vercel project logs to Limy Analytics using a custom Log Drain.
Vercel's Log Drain feature lets you forward logs, traces, speed insights, and analytics to third-party providers or custom endpoints. This guide walks you through connecting your Vercel project to Limy Analytics in 5 steps.
A Vercel project (with admin access to Settings)
Your Limy Analytics API key (found in your Limy dashboard)
Go to your Vercel dashboard and open your project.
Click Settings in the left sidebar.
Scroll down and select Drains from the menu.
Click the Add Drain button in the top-right corner.
If no drains exist yet, you'll see an empty state with a "No drains are associated with this project" message.

In the Add Drain wizard:
Select Logs (Runtime, build and static logs).
Click Next.
The other options — Traces, Speed Insights, and Web Analytics — are not required for Limy Analytics log ingestion.

Fill in the drain settings:
Drain Name
LimyAnalytics (or any name you prefer)
Projects
Select Specific Projects, then choose your project
Sources
Check at least: Static Files, Rewrites, Firewall, Redirects
Environment
Select Production (optionally add Preview)
Sampling
Leave empty to capture all logs
Click Next when done.

On the Configure the destination step:
Stay on the Custom Endpoint tab.
Set the URL to:
Set Encoding to JSON.
Enable the Custom Headers toggle and add:
Replace <Your Limy Analytics Key> with your actual API key from the Limy dashboard. Do not share this key publicly.
Click Create Drain.

Once saved, your drain will appear in the Drains list. Confirm it shows:
Name: LimyAnalytics
Type: Logs
Connected Projects: your selected project
A blue checkmark icon indicating the drain is active

After setup, it may take up to 10 minutes before data appears in your Limy Analytics dashboard.
If you have any questions, reach out to Limy Support.
Last updated
https://stream.getlimy.aix-api-key: <Your Limy Analytics Key>