# Improved Log Drain filtering

**Published:** December 20, 2023 | **Authors:** Chris Widmaier, Julia Shi, Darpan Kakadia

---

Log Drains now support the following options through the dashboard and API:

1. Filtering based on environment (production or preview)
2. Configuring a sample size to reduce the throughput

Learn more in our [documentation](https://vercel.com/docs/observability/log-drains-overview/log-drains-reference#log-environments).

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)