I tried above config and restarted splunk but still no success. I am keep on getting error 'Assignment Group cannot be empty' even though I enter something in the Assignment Group text box.
Below are my config files
restmap.conf
[validation:savedsearch]
# Require parameters to be set if webhook action is enabled
action.snow_webhook = case('action.snow_webhook' != "1", null(), 'action.snow_webhook.param.url' == "action.snow_webhook.param.url" OR 'action.snow_webhook.param.url' == "", "No Webhook URL specified", 'action.snow_webhook.param.assignment_group' == "action.snow_webhook.param.assignment_group" OR 'action.snow_webhook.param.assignment_group' == "", "Assignment Group cannot be empty", 'action.snow_webhook.param.service_offering' == "action.snow_webhook.param.service_offering" OR 'action.snow_webhook.param.service_offering' == "", "Service Offering cannot be empty", 'action.snow_webhook.param.description' == "action.snow_webhook.param.description" OR 'action.snow_webhook.param.description' == "", "Description cannot be empty", 1==1, null())
action.snow_webhook.param.url = validate(match('action.snow_webhook.param.url', "^https?://[^\s]+$"), "Webhook URL is invalid")
alert_actions.conf
[snow_webhook]
is_custom = 1
label = Test Webhook
description = Call REST API POST URL
icon_path = webhook.png
payload_format = json
disabled = 0
param.user_agent = Splunk/$server.guid$
savedsearches.conf.spec
# Webhook alert action settings
action.snow_webhook = [0|1]
* Enable webhook action
action.snow_webhook.param.url =
* URL to send the HTTP POST request to. Must be accessible from the Splunk server.
action.snow_webhook.param.assignment_group =
* Assignment Group in SNOW. Must be accessible from the Splunk server.
action.snow_webhook.param.service_offering =
* Service Offering in SNOW. Must be accessible from the Splunk server.
action.snow_webhook.param.description =
* Incident description in SNOW. Must be accessible from the Splunk server.
... View more