<?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 How to send search results of an alert to a script? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-send-search-results-of-an-alert-to-a-script/m-p/391324#M6874</link>
    <description>&lt;P&gt;Hi guys. Here's what I want to do:&lt;/P&gt;

&lt;P&gt;I made an alert that triggers if a new computer is found.&lt;/P&gt;

&lt;P&gt;I want to send the results (IP MAC etc.) to my script.&lt;/P&gt;

&lt;P&gt;I learned how to make a custom search command, but I don't know how to send the results as args. Any advice?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2019 18:41:50 GMT</pubDate>
    <dc:creator>kinguchiha</dc:creator>
    <dc:date>2019-02-19T18:41:50Z</dc:date>
    <item>
      <title>How to send search results of an alert to a script?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-search-results-of-an-alert-to-a-script/m-p/391324#M6874</link>
      <description>&lt;P&gt;Hi guys. Here's what I want to do:&lt;/P&gt;

&lt;P&gt;I made an alert that triggers if a new computer is found.&lt;/P&gt;

&lt;P&gt;I want to send the results (IP MAC etc.) to my script.&lt;/P&gt;

&lt;P&gt;I learned how to make a custom search command, but I don't know how to send the results as args. Any advice?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 18:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-search-results-of-an-alert-to-a-script/m-p/391324#M6874</guid>
      <dc:creator>kinguchiha</dc:creator>
      <dc:date>2019-02-19T18:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to send search results of an alert to a script?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-search-results-of-an-alert-to-a-script/m-p/391325#M6875</link>
      <description>&lt;P&gt;Why are you using a custom command?  Why not create a custom alert action or script?  In any case, this might help (but probably not):&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/41949/passing-search-results-to-external-python-script.html"&gt;https://answers.splunk.com/answers/41949/passing-search-results-to-external-python-script.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 04:19:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-search-results-of-an-alert-to-a-script/m-p/391325#M6875</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-08T04:19:01Z</dc:date>
    </item>
  </channel>
</rss>

