Feature request: Logs - Allow users to trigger alerts/workflows based on log patterns
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 222
Description
Feature request
Is your feature request related to a problem?
Users can set up alerts for Error Tracking, but there's no equivalent for Logs. If someone wants to get notified when a specific log pattern shows up (e.g. a particular error message, a severity level, or a keyword), there's currently no way to do that without building something external.
Describe the solution you'd like
The ability to define alert conditions based on log patterns, e.g. "send me a Slack message when a log matching failed to connect to database is received". This could work similarly to how Error Tracking alerts function today, but scoped to the Logs product, or add support for it in Workflows.
Describe alternatives you've considered
Additional context
From: https://posthoghelp.zendesk.com/agent/tickets/51200 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/52432)
Debug info
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading how Error Tracking alerts work today and then trace the existing Logs and Workflows areas mentioned in the request. The issue is complete when users can define a log-pattern condition and trigger a notification or workflow from a matching log.
Written by the indexing model from the issue text.
Assessment
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100