Troubleshooting
Output from the alert action can be found with the following Splunk search:
index=_internal sourcetype=splunkd sendmodalert better_webhook
If you only want to see errors…
index=_internal sourcetype=splunkd sendmodalert better_webhook ERROR
NOTE: The above should work fine for find whether or not an error occurred, but tracebacks are multiline and will be excluded. If you’re investigating a specific error I would use the first search so that no log events are missed.
If the log level for the “sendmodalert” alert channel is DEBUG, the alert action will also log the POST body and the response body.