Keyword filtering
On this page
When a tool can only send a request, not choose a URL suffix, keyword filtering reads the body of the request and decides what the ping means. Failure keywords are checked first, then success, then start.
How is a ping classified?
- If the check accepts only POST and the request is not a POST, the ping is logged as ignored.
- An explicit suffix (
/start,/fail,/<code>,/log) decides, and keywords are not consulted. - Otherwise, with filtering on, the first 100 kB of the body is searched for failure keywords, then success keywords, then start keywords. The first list with a match decides.
- With filtering off, a bare URL is a success.
Keywords are comma-separated and case sensitive.
What happens when nothing matches?
The ping is logged and ignored, or treated as a failure if "no match means failure" is on. A GET request has an empty body, so with that setting a bodiless GET counts as a failure.
When is the only-POST option useful?
Chat tools and mail clients open links to build previews, and a preview of a ping URL would count as a ping. An only-POST check ignores those requests, because a preview is a GET, and records them as ignored.
Which fields set this?
| Field | Meaning |
|---|---|
| filter_http_body | Turn body filtering on |
| start_kw, success_kw, failure_kw | The keyword lists |
| filter_default_fail | Treat no match as a failure |
| methods | "POST" accepts only POST requests |
Try it on one job
Create a check, copy its ping URL into the job, and watch the first ping arrive.
Start monitoring