Add a Webhook
To get real-time notifications of system events on the IT Analytics Portal, you must add a Webhook configuration. Before you add a Webhook on the portal, make sure you have a Webhook created on its server and get its URL and API key.
To add a Webhook configuration:
- Login to the IT Analytics Portal and go to Admin > Advanced > Webhook.
- Click Add and enter the following details on the pop-up:
Domain: Select the domain in which you want to add the Webhook.
Webhook Name: Enter a name of your choice.
Webhook URL: Enter the Webhook URL.
API Key for Webhook: Enter the Webhook API key.
Allow insecure connection: Select if the HTTPS URL provides an untrusted certificate.
Template library: Click to view and select a template.
The slected template appears in Payload Template area. You can either edit the existing template or add a new one. The templates are in
.jsonformat. The keys within the template are always static strings whereas the values can be static or dynamic. The dynamic values are of the format {{data.fieldName}}, {{data.fieldName1.fieldName2}}, and so on. There can be any level of nesting.Click Validate template.
Click Test Transformation to transform the template into test event message which will be shown in the Preview text area.
- Click Test to check whether event notifications are sent to the Webhook host.
- Click OK to save the configuration.
The configuration is saved to the Webhook page.
Every Webhook configuration is displayed on the Webhook page. You can select any configuration and Edit, Delete, Refresh, Enable and Disable a configuration.