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

Send alert notifications to Slack using Splunk Observability Cloud 🔗

You can configure Splunk Observability Cloud to automatically send alert notifications to Slack when a detector alert condition is met and when the alert clears.

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

Step 1: Create a Slack integration in Observability Cloud 🔗

You must be an Observability Cloud administrator, Slack administrator, and be authorized to add apps to Slack to perform this task.

This method of integrating with Slack replaces a prior design. Slack integrations created using the prior design display an option to upgrade in the Observability Cloud UI. While the prior design continues to work, Splunk recommends that you upgrade your integrations to use the newer integration design. You must upgrade your integration if you want image previews to display when pasting a chart URL into Slack. To learn more, see Paste a chart URL into Slack.

To create a Slack 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 Slack tile.

  4. Click New Integration to display the configuration options.

    If you get an error, you aren’t authorized to add apps to Slack and won’t be able to create this integration. Contact your Slack administrator for help.

  5. Review the permissions required by Slack and click Authorize.

  6. By default, the name of the integration is Slack. 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.

  7. Click Save.

Step 2: Add a Slack integration as a detector alert recipient in Observability Cloud 🔗

To add a Slack 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 Slack 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 Slack and then select the name of the Slack integration you want to use to send alert notifications. This is the integration name you created in Step 1: Create a Slack integration in Observability Cloud.

  4. Enter the name of the Slack channel you want to send the notifications to.

  5. Activate and save the detector.

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