Add filter by statusCode || type for log drains #11367
Unanswered
ollebergkvist
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Idea
Could you please enhance the Log Drain feature to include filtering options for specific status codes and types that should trigger a webhook? Currently, we use the log drain to send notifications via a webhook to Slack for 5** errors in serverless functions. However, without additional filtering, we're experiencing a high volume of requests to the webhook, which could quickly exhaust our current plan.
Alternatively, it might be more effective to enable triggering these events directly from the Vercel "Webhook" feature, eliminating the need to stream the logs altogether.
Beta Was this translation helpful? Give feedback.
All reactions