<?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 Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226074#M4139</link>
    <description>&lt;P&gt;When setting up your own Custom Alert Action, the payload should have an entry to the search results directly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;results_file&amp;gt;%your_splunk_path%/var/run/splunk/dispatch/scheduler__admin_%a_hash_value%/tmp_0.csv.gz&amp;lt;/results_file&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As ramabu already listed, here are the docs, &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/AdvancedDev/ModAlertsIntro"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/AdvancedDev/ModAlertsIntro&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2016 20:01:07 GMT</pubDate>
    <dc:creator>cb_usps</dc:creator>
    <dc:date>2016-03-25T20:01:07Z</dc:date>
    <item>
      <title>How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226069#M4134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I had a sample test on the Splunk Webhook Alert action and it seems the webbhook sends the first result from the search results. Is there a way to send the entire search results as JSON payload?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Mathan J&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 22:00:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226069#M4134</guid>
      <dc:creator>Mathanjey</dc:creator>
      <dc:date>2016-03-01T22:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226070#M4135</link>
      <description>&lt;P&gt;I don't know that it is possible to get them all in a single trigger.&lt;BR /&gt;
What I did in a similar case, is I triggered the alert once per result. Can this work for you?&lt;/P&gt;

&lt;P&gt;If not, then you can probably write a custom_alert_action to do that. Not sure about the details, but they are here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/AdvancedDev/ModAlertsIntro" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/AdvancedDev/ModAlertsIntro&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Reading this, keep in mind that a custm-alert-action is a one-alert-app, sort of, that plugs into the 'Add Actions' drop down, and has its own setup, triggering dialog, icon, script, etc.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:57:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226070#M4135</guid>
      <dc:creator>ramabu</dc:creator>
      <dc:date>2020-09-29T08:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226071#M4136</link>
      <description>&lt;P&gt;Thanks, I see the workaround of triggering the alert once per result. In such case it would increase the network traffic as we will have more number of search results (&amp;gt;100) and multiple webhooks will be configured of different types. Do you agree? Preferably I would think getting all the results set at once shot would help the receiving service to parse through and take necessary actions. &lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Mathan J&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 14:38:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226071#M4136</guid>
      <dc:creator>Mathanjey</dc:creator>
      <dc:date>2016-03-02T14:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226072#M4137</link>
      <description>&lt;P&gt;If the results are interrelated, and the receiving service needs them all to handle them properly, then this is surely not a workaround. &lt;/P&gt;

&lt;P&gt;And I agree that network traffic will increase, and the receiving service will be posted &amp;gt;100 times more often. &lt;/P&gt;

&lt;P&gt;It is just that the webhook is more of an illustrative example of a custom alert action, suitable for specific, not all, cases.&lt;/P&gt;

&lt;P&gt;See also the following questions I answered to myself...&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/351007/webhook-alert-action-why-am-i-unable-to-specify-a.html"&gt;https://answers.splunk.com/answers/351007/webhook-alert-action-why-am-i-unable-to-specify-a.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/351433/is-it-possible-to-use-a-configuration-stanza-in-we-1.html"&gt;https://answers.splunk.com/answers/351433/is-it-possible-to-use-a-configuration-stanza-in-we-1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:55:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226072#M4137</guid>
      <dc:creator>ramabu</dc:creator>
      <dc:date>2016-03-02T15:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226073#M4138</link>
      <description>&lt;P&gt;Got a solution to get all the results. We actually took slightly a different route to fit our requirements.&lt;/P&gt;

&lt;P&gt;We still plan to use the Out of the box Webhook which will be triggered on a certain condition followed by a web service is exposed to receive the alert.&lt;/P&gt;

&lt;P&gt;With the web service we get the first result from the payload, in addition we also get the search id.&lt;/P&gt;

&lt;P&gt;Having the search id , we got a way to call the REST API that returns the complete search results in XML, based on which we can parse ..etc.&lt;/P&gt;

&lt;P&gt;Sample REST API URL : &lt;A href="https://SplunkServer:port/services/nobody/applicaitonname/search/jobs/Searchid_from_webhook/results_preview"&gt;https://SplunkServer:port/services/nobody/applicaitonname/search/jobs/Searchid_from_webhook/results_preview&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Mathan J&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 21:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226073#M4138</guid>
      <dc:creator>Mathanjey</dc:creator>
      <dc:date>2016-03-11T21:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226074#M4139</link>
      <description>&lt;P&gt;When setting up your own Custom Alert Action, the payload should have an entry to the search results directly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;results_file&amp;gt;%your_splunk_path%/var/run/splunk/dispatch/scheduler__admin_%a_hash_value%/tmp_0.csv.gz&amp;lt;/results_file&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As ramabu already listed, here are the docs, &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/AdvancedDev/ModAlertsIntro"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/AdvancedDev/ModAlertsIntro&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2016 20:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226074#M4139</guid>
      <dc:creator>cb_usps</dc:creator>
      <dc:date>2016-03-25T20:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226075#M4140</link>
      <description>&lt;P&gt;Thanks for the answer.  I had really hoped there was a better solution to get POST with the full results.  This is very inefficient.   If anyone else has a way to get full results in the POST I am very interested.  &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 21:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226075#M4140</guid>
      <dc:creator>tavor999</dc:creator>
      <dc:date>2017-01-18T21:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226076#M4141</link>
      <description>&lt;P&gt;did you get an answer for this? I am having the same problem and cant find anything here. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 15:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/226076#M4141</guid>
      <dc:creator>maximusdm</dc:creator>
      <dc:date>2017-06-02T15:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Webhook Alert actions to send entire search results as JSON payload?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/754407#M16344</link>
      <description>&lt;P&gt;Where did you find the Power Automate IP`s that need adding to the Splunk API allow list ?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 10:46:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-get-Splunk-Webhook-Alert-actions-to-send-entire-search/m-p/754407#M16344</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2025-10-16T10:46:21Z</dc:date>
    </item>
  </channel>
</rss>

