![]() Here is an example JSON payload to send most of the available Webhook variables including ResultsJson. Refer to Slack for further details on what their service supports and how to build payloads. These examples are provided as a reference on Slack's supported Webhook payloads. Slack offers a Message Builder where you can build and test your JSON payload. Under Recovery Payload, which allows you to customize how the recovery notification look in Slack, enter a JSON object in the format required by Slack.ĭetails on how to format your payload message are available in Slack's documentation, Basic message formatting.Under Alert Payload, which allows you to customize how the alert notification look in Slack, enter a JSON object in the format required by Slack. For details on variables that can be used as parameters within your JSON object, see Webhook Payload Variables.(Optional) Custom Headers, enter up to five comma separated key-value pairs.(Optional) Enter a Description for the Connection.In the Create Connection dialog, enter the Name of the Connection.Go to Manage Data > Monitoring > Connections.Can send a message to channel (by default), a direct message to username or a message to a. ![]() You need the Manage connections role capability to create webhook connections. Create an Incoming WebHook and export this as SLACKURL. Configure a Webhook connection for Slack Once you set up the webhook connection, you'll have the option to use it in a Scheduled Search or Monitor. You can set up any number of connections. Webhook connections rely on HTTP endpoints that tell Sumo Logic where to send data. Learn more about Slack requirements for Webhooks in their API Help. ![]() You can send an alert from Sumo Logic as an HTTP POST request to a Slack channel. The Events API is a subscription-based system that sends your app HTTP requests when interesting stuff - like users posting messages or creating channels - so your app can do stuff in response. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |