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, Amazon Chime location, 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.
Creating a Destination
To create a destination:
- In Search Analytics > Alerting window, click Destination. The Destinations page opens and displays the list of current destinations.
- Click Add destination to add a new destination. The following window opens.
- In the Name field, type a name for the new destination.
- In the Type field, select a destination type from the list:
- Amazon Chime–Sends a notification to the Amazon Chime messaging service.
- Slack–Sends a notification to a Slack channel messaging service.
- Custom webhook–Sends a notification to a custom webhook destination.
- For either Chime or Slack destinations, paste or type the URL for the channel/chime location in the Webhook URL field.
- 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
- 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:
Updated 8 days ago