Repository navigation
Formatting help #21
Replies: 2 comments 2 replies
|
Whatever you enter in the "Message" field in the alert follows Slack's text formatting rules. The quoted section in the screenshot is a triple-fenced codeblock (using 3 backticks). The example from the screenshot would look something like this: You can use Slack's message builder to take a look at the preview. The "message" input basically supplies the Here's what it would look like to enter the formatted message in the alert UI: You can learn more about formatting slack messages here: https://api.slack.com/reference/surfaces/formatting |
|
Ahhhh, got it! Thanks so much - very helpful. |



Whatever you enter in the "Message" field in the alert follows Slack's text formatting rules. The quoted section in the screenshot is a triple-fenced codeblock (using 3 backticks).
The example from the screenshot would look something like this:
You can use Slack's message builder to take a look at the preview. The "message" input basically supplies the
textproperty in the JSON payload. Note that Splunk would replace$result._raw$with the field value before sending the message to the Slack API.Here's what it would look like to enter the formatted message in the alert UI:
You can le…