Integrations
Coralogix
This document shows you how you can integrate Callgoose SQIBS with Coralogix.
Incidents will be creating in Callgoose SQIBS when there is a incident created in Coralogix as per the workflows configured by you in the Coralogix
In Callgoose SQIBS
Create filter as per the Coralogix workflows.
- For test purpose, create an API filter like this
After test, create suitable API filter values depending on the payload sent by Coralogix to create a meaningful incident.
In Coralogix
1. Click on Data flow and select Webhook
2. Click on Create a Webhook button or ADD NEW button to create new webhook.
3. Fill the following
Display name : CallgooseSQIBS
Webhook url : Enter your API Endpoint
Method : Post
Edit Header : "Authorization": "Bearer $APITOKEN"
4. Edit Body: payload.
5. Custom payload: Use the following JSON payload.
{ "uuid": "$uuid", "alert_id": "$ALERT_ID", "name": "$ALERT_NAME", "description": "$ALERT_DESCRIPTION", "event_severity": "$EVENT_SEVERITY", "threshold": $ALERT_THRESHOLD, "timewindow": "$ALERT_TIMEWINDOW_MINUTES", "group_by_labels": "$ALERT_GROUPBY_LABELS", "alert_action": "$ALERT_ACTION", "alert_url": "$ALERT_URL", "service": "$SERVICE", "duration": "$DURATION", "errors": "$ERRORS" }
You can customize your own payload with Available placeholders
5. Click on Test Config to send this notification to Callgoose SQIBS to test
1. Please make sure you have added API filter contains values in Callgoose SQIBS before you send test notifications.
2. You can decide on ‘what Coralogix payload’(customise the values in the Custom payload section) you need notifications in Callgoose SQIBS and depending upon that you can create the API filter values in the Callgoose SQIBS
Make sure to select the alert notifications you want to notified and click on Save.
6. You can see that Callgoose SQIBS created the Incident as per the above ‘Coralogix payload values’
Now whenever an alert notification is triggered in Coralogix, an incident will automatically be created in Callgoose SQIBS if the API Filter is success for the payload.
When Coralogix payload 'alert_action' value is 'trigger,' it triggers an incident in SQIBS. Likewise, when the 'alert_action' is 'resolve,' it automatically resolves the incident in SQIBS.