Alert Destinations

Create one or more destinations to specify where alert notifications are sent.

A destination is a location where the Search Analytics alerting tools send notifications. ChaosSearch supports sending notifications to a Slack channel or via custom webhook to a monitoring application.

👍

Triggers require destinations to be set up first.

Create destinations before triggers, so that the destination is available as a selection during the trigger definition process.

Creating a Destination

To create a destination:

  1. In Search Analytics > Alerting window, click Destination. The Destinations page opens and displays the list of current destinations.
  1. Click Add destination to add a new destination. The following window opens.

  1. In the Name field, type a name for the new destination.
  2. In the Type field, select a destination type from the list:
  • Amazon Chime–Sends a notification to the Amazon Chime messaging service. NOTE: Amazon Chime is not a supported destination type. If Amazon Chime is a desired destination, define it as a destination using the custom webhook option.
  • Slack–Sends a notification to a Slack channel messaging service.
  • Custom webhook–Sends a notification to a custom webhook destination.
  1. For Slack destinations, paste or type the URL for the channel in the Webhook URL field.
  2. For a Custom webhook destination, the window displays additional fields for the headers and parameters. Each custom webhook will have different values and requirements. Review the documentation for the target destination service to gather the required information needed for the custom webhook definition. The custom webhook fields follow:

📘

Custom Webhook Headers and Parameters

Custom webhooks typically require more information: parameters and headers. For example, if your endpoint requires basic authentication, you might need to specify a header with a key of Authorization and a value of Basic Base64-encoded-credential-string. You might also need to change Content-Type to information that is required by your target application. Popular values are application/json, application/xml, and text/plain.

  1. Click Create to save and add the destination to the Destinations page.

A sample Slack destination definition follows:

Selecting a Destination for a Trigger

When you create a trigger, you select a destination that is already configured in the Destinations list. If your desired destination is not yet created, you must define it and then return to the trigger definition step.

The following screen shows a sample Slack channel message for an alert that is activated:


What’s Next