Back to Signoz

Vercel SetupLogDrains

frontend/src/container/OnboardingContainer/Modules/LogsManagement/Vercel/md-docs/vercel-setupLogDrains.md

0.121.11.1 KB
Original Source

You can stream logs from Vercel to SigNoz using log drains.

Note: Log Drains are only supported in Vercel Pro and Enterprise accounts.

 

Step 1: Select Sources

  • From the Vercel dashboard, go to Team Settings > Log Drains.

 

  • Select sources from which you want to collect logs (Example -> Statci, External, Lambda etc.)

 

  • Choose delivery format as JSON

 

  • Specify your target projects

 

Step 2: Add Log Drain

  • Enter the endpoint URL as follows:
bash
https://ingest.{{REGION}}.signoz.cloud:443/logs/json

 

  • Enable Custom Headers and add the headers signoz-ingestion-key and x-vercel-verify
bash
signoz-ingestion-key: {{SIGNOZ_INGESTION_KEY}}
bash
x-vercel-verify: <YOUR_VERCEL_VERIFY_TOKEN>

Note: The value of x-vercel-verify will be visible on your screen in the endpoint section.

 

  • Click on Verify button and then Add Log Drain button in Vercel.

 

Click on the Done button below and you should be able to see your logs in SigNoz.