I want to send out a notification only if the Synthetic monitor Type contains specific text or wording e.g., Type: 401 Unauthorized but not for e.g., Type: Wait timeout was too short for the page to load.
Example of additional context I get in the Slack message, in this case:
Synthetic monitor global outage
Actions: click on "Log in"
Type: 401 Unauthorized
I've tried using the custom event filter but it doesn't seem to follow my logic 😂
Thanks for the suggestions, @HannahM and @AntonPineiro - I'm already using content validation for plain text, to confirm if the user logged in successfully, but I don't want to be alerted on the Wait timeout types.
If the wait timeout occurs, it should not do anything in the form of alerting, other than run the check again on the next interval. I hope I'm making sense.
I'll look into the other suggestions later, hopefully, one of those will do the trick.