Docs » Send alert notifications to third-party services using Splunk Observability Cloud » Send alert notifications to Opsgenie using Splunk Observability Cloud

Send alert notifications to Opsgenie using Splunk Observability Cloud 🔗

You can configure Splunk Observability Cloud to automatically send alert notifications to one or more Opsgenie teams when a detector alert condition is met and when the alert clears.

To send Observability Cloud alert notifications to Opsgenie, complete the following configuration tasks:

Step 1: Create an Observability Cloud integration in OpsGenie 🔗

You must be an Opsgenie account owner or administrator to perform these tasks.

To create an Observability Cloud integration in OpsGenie:

  1. Log in to Opsgenie.

  2. Determine whether you want to create an integration to one team or multiple teams. The option to create an integration to multiple teams is not available for all Opsgenie accounts.

    • If you want to create an integration to one Opsgenie team, access the Team Dashboard. Click the team that you want to receive alert notifications from Observability Cloud. Click the Integrations tab and then click Add Integration.

    • If you want to create an integration to multiple Opsgenie teams, access the Integration list page.

  3. Find and hover over the API icon. Click Add.

  4. Enter a descriptive name for the integration.

  5. Copy the API key for use in Step 2: Create an Opsgenie integration in Observability Cloud.

  6. Click Save Integration.

Step 2: Create an Opsgenie integration in Observability Cloud 🔗

You must be an Observability Cloud administrator to perform this task.

To create an Opsgenie integration in Observability Cloud:

  1. In the Observability Cloud navigation menu, select Data Setup.

  2. In the CATEGORIES menu, select Notification Services.

  3. Click the Opsgenie tile.

  4. Click New Integration to display the configuration options.

  5. Enter a name for the integration. Splunk recommends that you give your integration a unique and descriptive name. For information about the downstream use of this name, see About naming your integrations.

  6. In the Service Region drop-down list, select your Opsgenie service region.

  7. In the Token field, enter the token copied from Opsgenie in Step 1: Create an Observability Cloud integration in OpsGenie.

  8. Click Save.

  9. If Observability Cloud is able to validate the Opsgenie API key, a Validated! success message displays. If an error displays instead, make sure that the API key you entered matches the API key value displayed in Opsgenie in Step 1: Create an Observability Cloud integration in OpsGenie.

Step 3: Add an Opsgenie integration as a detector alert recipient in Observability Cloud 🔗

To add an Opsgenie integration as a detector alert recipient in Observability Cloud:

  1. Create or edit a detector that you want to configure to send alert notifications using your Opsgenie integration.

    For more information about working with detectors, see Create detectors to trigger alerts and Subscribe to alerts using the Detector menu.

  2. In the Alert recipients step, click Add Recipient.

  3. Select Opsgenie and then select the name of the Opsgenie integration you want use to send alert notifications. This is the integration name you created in Step 2: Create an Opsgenie integration in Observability Cloud.

    • If you select an integration that you set up for one Opsgenie team, alert notifications will be sent to that team.

    • If you select an integration that you set up for multiple Opsgenie teams, you can do one of the following:

      • Select a specific team to send alert notifications to instead of having Opsgenie determine how to handle the notifications.

      • Select (No team) to indicate that you want Opsgenie to determine how to handle the notifications. Opsgenie handles the notifications based on settings associated with the API key you created in Step 1: Create an Observability Cloud integration in OpsGenie.

  4. Activate and save the detector.

Observability Cloud will send an alert notification to Opsgenie when an alert is triggered by the detector and when the alert clears.