Custom Webhook Endpoint Then Alert
A 3-step recipe with Logz.io. We can help you get access.
Recipe · 3 steps
Custom Webhook Endpoint Then Alert
with Logz.io
Provision a custom webhook endpoint and an alert that notifies it.
- Create a custom webhook notification endpoint. The test query parameter is false so the endpoint is actually persisted.
- Create a log alert whose notification recipients include the custom endpoint id created in the previous step.
- Read the created alert back by its id to confirm it persisted.
What you'll need to have ready
- apiToken: Logz.io API token sent in the X-API-TOKEN header.
- endpointTitle: Display name for the custom notification endpoint.
- webhookUrl: URL the custom notification is sent to.
- alertTitle: Title for the new alert.
- query: Lucene search query the alert evaluates against the logs.
For your developer
Arazzo workflow logz-io:custom-endpoint-then-alert, 3 operations: createCustom → createAlert → getAlert. Specs on APIs.io.