<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Splunk REST API - add webhook using API but Splunk Web UI not showing it in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Splunk-REST-API-add-webhook-using-API-but-Splunk-Web-UI-not/m-p/688094#M12480</link>
    <description>&lt;P&gt;&lt;SPAN&gt;has anyone successfully using Splunk API call &lt;/SPAN&gt;/services/saved/searches/SEARCH_NAME&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D&lt;/A&gt;&lt;SPAN&gt;) to add a &lt;/SPAN&gt;&lt;STRONG&gt;webhook&lt;/STRONG&gt;&lt;SPAN&gt; for an &lt;/SPAN&gt;&lt;STRONG&gt;existing&lt;/STRONG&gt;&lt;SPAN&gt; Splunk report? I added &lt;/SPAN&gt;&lt;STRONG&gt;action.webhook=1&lt;/STRONG&gt;&lt;SPAN&gt; , &lt;/SPAN&gt;&lt;STRONG&gt;action.webhook.param.url=&lt;A href="https://1234.com" target="_blank" rel="noopener"&gt;https://1234.com&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt; , and &lt;/SPAN&gt;&lt;STRONG&gt;actions=pagerduty,webhook&lt;/STRONG&gt;&lt;SPAN&gt; 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?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl \
        --data-urlencode 'action.webhook.param.url=https://1234.com' \
        --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 \
        "https://localhost:8089/services/saved/searches/test-12345"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-20 at 5.32.11 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30899i82C488B6F5931DD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-05-20 at 5.32.11 PM.png" alt="Screenshot 2024-05-20 at 5.32.11 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 21:58:53 GMT</pubDate>
    <dc:creator>gdbtek</dc:creator>
    <dc:date>2024-05-21T21:58:53Z</dc:date>
    <item>
      <title>Splunk REST API - add webhook using API but Splunk Web UI not showing it</title>
      <link>https://community.splunk.com/t5/Reporting/Splunk-REST-API-add-webhook-using-API-but-Splunk-Web-UI-not/m-p/688094#M12480</link>
      <description>&lt;P&gt;&lt;SPAN&gt;has anyone successfully using Splunk API call &lt;/SPAN&gt;/services/saved/searches/SEARCH_NAME&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D&lt;/A&gt;&lt;SPAN&gt;) to add a &lt;/SPAN&gt;&lt;STRONG&gt;webhook&lt;/STRONG&gt;&lt;SPAN&gt; for an &lt;/SPAN&gt;&lt;STRONG&gt;existing&lt;/STRONG&gt;&lt;SPAN&gt; Splunk report? I added &lt;/SPAN&gt;&lt;STRONG&gt;action.webhook=1&lt;/STRONG&gt;&lt;SPAN&gt; , &lt;/SPAN&gt;&lt;STRONG&gt;action.webhook.param.url=&lt;A href="https://1234.com" target="_blank" rel="noopener"&gt;https://1234.com&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt; , and &lt;/SPAN&gt;&lt;STRONG&gt;actions=pagerduty,webhook&lt;/STRONG&gt;&lt;SPAN&gt; 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?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl \
        --data-urlencode 'action.webhook.param.url=https://1234.com' \
        --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 \
        "https://localhost:8089/services/saved/searches/test-12345"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-20 at 5.32.11 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30899i82C488B6F5931DD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-05-20 at 5.32.11 PM.png" alt="Screenshot 2024-05-20 at 5.32.11 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 21:58:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Splunk-REST-API-add-webhook-using-API-but-Splunk-Web-UI-not/m-p/688094#M12480</guid>
      <dc:creator>gdbtek</dc:creator>
      <dc:date>2024-05-21T21:58:53Z</dc:date>
    </item>
  </channel>
</rss>

