Our next-gen architecture is built to help you make sense of your ever-growing data Watch a 4-min demo video!

Back to All Integrations

Alert Webhook with Opsgenie Alert Webhook with Opsgenie

Last Updated: Mar. 30, 2022

Alerts in Coralogix can trigger new incidents and can be resolved in Opsgenie, depending on the settings chosen for each alert:

  1. When an alert in Coralogix has an Opsgenie webhook and its conditions are met, an event is sent to your service in Opsgenie. Different events from Coralogix will trigger a new incident in the corresponding Opsgenie service.
  2. If “Notify When Resolved” is set for the Coralogix alert, then once the conditions have returned to their designated normal range a Coralogix Resolve event will be sent to the Opsgenie service to resolve the alert status and associated incident on that service.

Configuration in Opsgenie:

  1. Open the main page of your Opsgenie account. Choose “Teams” tab (a team must be defined)
    Opsginei teams
  2. From your Opsgenie Settings tab, select Integrations. Select your defined “Team”, and click on “Integrations” on the left pane
    Opsginei Integrations
  3. Click on “add integration” and in the “Integration List”, search for “Coralogix”.
    Coralogix app
  4. When you hover your cursor it will show an “Add” option. Click on “Add”.
    Coralogix Add integration
  5. You will see the integration endpoint. Copy it to be used in the Coralogix webhook definition in the next step.
    Opsgenie my team
  6. Note that the priority setting under the Opsgenie integration (figure 6.1) is not a derivative of the Coralogix alert severity. In other words, it cannot be set dynamically by the alert severity you are choosing in the Alerts itself in Coralogix (figure 6.2).

    If you want to have different priorities for your Opsgenie alerts you should set the right P (P1-P5) per integration and then create for each integration its own webhook integration in Coralogix. For instance, one integration to have for P1 and use it with one Coralogix to Opsgenie webhook and place that webhook with your critical Coralogix alerts and have different integration for priority P3 and use it with a different Coralogix to Opsgenie webhook and then choose it for Coralogix alerts you set with Warning severity.
    Figure 6.1
    Opsgenie webhook setting
    Figure 6.2
    Coralogix Alert creation page

Configuration in Coralogix

Go to Data Flow -> Webhooks. Click the ‘+ Add New’ button on the right-hand side, choose WebHook (OpsGenie), and fill your destination URL with the one you copied from OpsGenie.

opsgenie coralogix webhook integration

Click save and then click the ‘Test Configuration’ button. You should get a success message. You should also see a test message when you log into Opsgenie.

Coralogix Opsgenie configuration test

In case you created more than one webhook, you can choose the relevant webhook in the alert creation/edit page under Recipients.

On this page