Set Up
Learn how to set up Sentry's Logs feature using our supported SDKs.
To set up Sentry Logs, use the links below for supported SDKs. After it's been set up, you'll be able to view and query logs and parameters sent from your applications within Sentry.
Browser JavaScript
Angular
Astro
AWS Lambda
Azure Functions
Bun
Cloudflare
Connect
Electron
Ember
Express
Fastify
Gatsby
Google Cloud Functions
Hapi
Hono
Koa
Nest.js
Node.js
Next.js
Nuxt
React
React Router
Remix
Solid
SolidStart
Svelte
SvelteKit
TanStack Start
Vue
Wasm
We're actively working on adding Log functionality to additional SDKs. Check out these GitHub issues for the latest updates:
If you don't see your platform listed above, please reach out to us on GitHub or Discord, we'll get it prioritized!
Log drains allow you to forward logs from platforms like Vercel, Cloudflare, Heroku, and Supabase directly to Sentry without modifying your application code. Learn more about log and trace drains.
- Vercel: Forward runtime, build, and static logs from Vercel deployments
- Cloudflare: Forward logs from Cloudflare Workers
- Heroku: Forward logs from Heroku apps using telemetry drains
- Supabase: Forward logs from your Supabase stack
We are actively working on adding support for more platforms, which we are tracking in this GitHub issue.
You can also send logs to Sentry via Sentry's OpenTelemetry (OTLP) Logs endpoint. This can be used with any OpenTelemetry SDK, or with the OpenTelemetry Collector to send logs to Sentry. This is useful if you're already using OpenTelemetry instrumentation or want to route logs through an OTLP collector.
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").