I would like to use Splunk WebHook Action Trigger to send a webhook to slack.
So in order to be able to do that I need to be able to send a post and a payload with the WebHook.
But when I create a WebHook in Splunk I can't find where is the place to enter the payload?
All I can enter its URL.
For a webhook, the POST request's JSON data payload includes the search ID (SID) for the search that triggered the alert, the search owner and app, and the first results row from the search that triggered the alert. Here's an example JSON data packet:
Be aware that the contents of the "result" key will always vary, depending on the search that is triggering the alert action. However, the "result" key will always be followed by the "sid", "results_link", "search_name", "owner", and "app" keys, in that order. In the case of the PAS simulated users add-on, the only thing crucial for our purposes is the username included in the endpoint. The content of the JSON packet is ignored.