Webhooks

Webhooks are Humio®’s most flexible type of notifier. The webhook notifier can perform an HTTP(S) request to any URL and can therefore be used to integrate third-party services that Humio doesn’t have natively integrated.

Parameter Description
Endpoint URL The URL of the service the webhook is contacting.
HTTP Method HTTP method of the call, usually POST
Message Body Template Optional. The body of the HTTP call. Can be of any form: JSON, Text, or even XML. The Message Body accepts our Notifier template placeholders as well.
HTTP Headers A list of HTTP Headers. We recommend adding a Content-Type header with the corresponding content type, such as application/json for JSON message bodies. Add more headers by clicking the + on the right

You can use a service like https://webhook.site/ to test your notifier while you are getting the message body and headers correct.

Example: Using webhooks to trigger a shell script

This guide shows you how to set up webhooks to run a script when an alert triggers.