mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 23:15:49 +03:00
[GH-ISSUE #1130] Filter URL pings by keywords #782
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#782
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lcswillems on GitHub (Mar 4, 2025).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1130
Hello!
There is a way to filter emails by keywords (for success / failure).
Would it be possible to propose the same filtering but for URL pings?
For example, if the body of the request sent to the URL contains X then it is a success and if it contains Y then it is a failure.
@jwyse commented on GitHub (Aug 2, 2025):
+1 This would be very useful.
I'm currently trying to monitor a process that sends HTTP pings with text payloads: It always sends a "started" message, conditionally sends a "successfully completed" message, and sends a tail of the log file (which will contain "ERROR") if it fails. Monitoring with Healthchecks if barely useful here, because the process rarely fails to start at all, so Healthchecks reports UP even if it gets a ping payload containing "ERROR".
I have no control over the process to customize the notification payloads or endpoints. The return code of the calling script is always 0, so that's not useful. Filtering rules would be extremely helpful here, but since Healthchecks is getting the pings via HTTPS instead of email, it does not seem to be applying any filtering rules.
Thanks!
@cuu508 commented on GitHub (Nov 21, 2025):
Looking into this and experimenting with the UI in the "Filtering Rules" dialog. Here's the mockup I have currently:
As a quick usability test, here are a few questions for anybody willing to give it a go:
@cuu508 commented on GitHub (Nov 27, 2025):
Now implemented and deployed: https://healthchecks.io/docs/configuring_checks/#filtering-rules
@lcswillems commented on GitHub (Nov 27, 2025):
Awesome! Thank you very much!