Request Demo
Tutorials

Tutorials

Integrating Coralogix Webhooks with VictorOps

Coralogix allows for the easy creation of webhooks integrations with other services like VictorOps.

Configuration in VictorOps

In order to integrate with VictorOps, the first step is to make sure you configured the endpoint URL. If you don’t have one yet, go to your VictorOps account and click on Settings->Routing keys to generate a routing key:

Copy the routing key and then go to Integration->’REST Generic’:

Finally, use the routing key to complete the URL:

Configuration in Coralogix

To define your webhook, go to Settings –> Integrations and click the ‘+’ sign on the right-hand side, choose WebHook from the dropdown list and fill your destination URL. Since the field message_type is mandatory, click “Edit body” to add it:

message_type optional VictorOps values are:

CRITICAL

WARNING

AKNOWLEDGEMENT

INFO

RECOVERY

 

This is the payload sent from a Coralogix custom webhook to VictorOps. You can edit the other payload fields:

{
  "message_type": "CRITICAL",

  "entity_id": "$ALERT_ID",

  "entity_display_name": "$ALERT_NAME",

  "alert_severity": "$EVENT_SEVERITY",

  "state_message": "$LOG_TEXT",

  "description": "$ALERT_DESCRIPTION",

  "alert_action": "$ALERT_ACTION",

  "alert_url": "$ALERT_URL",

  "log_url": "$LOG_URL",

  "monitoring_tool": "Coralogix",

  "team": "$TEAM_NAME",

  "application": "$APPLICATION_NAME",

  "subsystem": "$SUBSYSTEM_NAME",

  "ipAddress": "$IP_ADDRESS",

  "timestamp": "$EVENT_TIMESTAMP",

  "hitCount": "$HIT_COUNT"

}

Now you should be able to generate alert notifications into VictorOps.

Start solving your production issues faster

Let's talk about how Coralogix can help you

Managed, scaled, and compliant monitoring, built for CI/CD

Get a demo

No credit card required

Get a personalized demo

Jump on a call with one of our experts and get a live personalized demonstration