---
title: Drains
description: Export logs and events to external observability systems.
url: "https://vercel.com/kb/drains"
published: 2025-11-06
last_updated: 2025-11-06
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# Drains

Export logs and events to external observability systems.

## All Drains guides

- [How to control AI provider data handling with AI Gateway](/kb/guide/control-ai-provider-data): Prevent AI providers from training on your prompts, enforce zero data retention, and restrict providers and models with Vercel AI Gateway.
- [How do I store logs on Vercel?](/kb/guide/how-do-i-store-logs-on-vercel): Learn how to store logs on Vercel.
- [Why does my Serverless Function work locally but not when deployed?](/kb/guide/why-does-my-serverless-function-work-locally-but-not-when-deployed): Learn how to troubleshoot your Serverless Functions.
- [Debug and Troubleshoot Logs with Vercel and Sematext](/kb/guide/debugging-and-troubleshooting-vercel-logs-with-sematext): Automatically send all Vercel logs to Sematext to understand how your application is running.

## Explore other topics in the Vercel Knowledge Base

- [Python](/kb/python): Build, deploy, and scale Python on Vercel. Run FastAPI, Flask, Django, or any ASGI or WSGI app on Vercel Functions with zero configuration, and find guides on background jobs, storage, AI workloads, containers, and migrating from other platforms.
- [Enterprise Apps and Agents](/kb/enterprise): Explore how enterprises develop, deploy, and govern internal apps and AI agents. Learn about citizen development, shadow AI, access controls, and agent auditing, with practical guidance for turning employee-built tools into supported business applications.
- [Jev from TypeSafe AI](/kb/jev-from-typesafe-ai): Jev is TypeSafe AI's System One model for fast, typed decisions. It evaluates supplied context and returns choices, scores, and probabilities that applications can use to classify requests, route tasks, and assess proposed actions without generating prose.
- [Vercel Sandbox](/kb/vercel-sandbox): The compute primitive designed to safely run untrusted or user-generated code on Vercel.
