Splunk REST API - add webhook using API but Splunk Web UI not showing it

New Member

has anyone successfully using Splunk API call /services/saved/searches/SEARCH_NAME( to add a webhook for an existing Splunk report? I added action.webhook=1 , action.webhook.param.url= , and actions=pagerduty,webhook successfully through API but the Splunk UI does not show the webhook on UI (please see screenshot). Anyone has any idea what seem to be the problem?



curl \
        --data-urlencode 'action.webhook.param.url=' \
        --data-urlencode 'action.webhook=1' \
        --data-urlencode 'actions=pagerduty,webhook' \
        --data-urlencode 'output_mode=json' \
        --header "Authorization: Splunk A_TOKEN_HERE" \
        --insecure \
        --request 'POST' \
        --retry '12' \
        --retry-delay '5' \
        --silent \



Screenshot 2024-05-20 at 5.32.11 PM.png

Labels (1)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...