<?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 grab data from a the search result for an API call script? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-grab-data-from-a-the-search-result-for-an-API-call-script/m-p/341098#M62879</link>
    <description>&lt;P&gt;Splunk passed 8 arguments to alert script, 8th one is the full path to the compressed result file of the search. How is your python script grabbing the specific fields?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.3/Alert/Configuringscriptedalerts#Access_arguments_to_scripts_that_are_run_as_an_alert_action"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.3/Alert/Configuringscriptedalerts#Access_arguments_to_scripts_that_are_run_as_an_alert_action&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2018 20:13:16 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-04-18T20:13:16Z</dc:date>
    <item>
      <title>How to grab data from a the search result for an API call script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-grab-data-from-a-the-search-result-for-an-API-call-script/m-p/341097#M62878</link>
      <description>&lt;P&gt;I have a job that is set to run off of every alert. I have a python script executing that is showing Exit Code 0. The script is designed to grab a specific field from the alert and pass it along with an API call to a web server. &lt;/P&gt;

&lt;P&gt;I am not seeing any errors other than it does not seem to be grabbing the file information from the search results.&lt;/P&gt;

&lt;P&gt;Any help here would be great&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 16:22:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-grab-data-from-a-the-search-result-for-an-API-call-script/m-p/341097#M62878</guid>
      <dc:creator>Athildjax64</dc:creator>
      <dc:date>2018-04-18T16:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to grab data from a the search result for an API call script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-grab-data-from-a-the-search-result-for-an-API-call-script/m-p/341098#M62879</link>
      <description>&lt;P&gt;Splunk passed 8 arguments to alert script, 8th one is the full path to the compressed result file of the search. How is your python script grabbing the specific fields?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.3/Alert/Configuringscriptedalerts#Access_arguments_to_scripts_that_are_run_as_an_alert_action"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.3/Alert/Configuringscriptedalerts#Access_arguments_to_scripts_that_are_run_as_an_alert_action&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 20:13:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-grab-data-from-a-the-search-result-for-an-API-call-script/m-p/341098#M62879</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-04-18T20:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to grab data from a the search result for an API call script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-grab-data-from-a-the-search-result-for-an-API-call-script/m-p/341099#M62880</link>
      <description>&lt;P&gt;This is not a run a script function, but a modular alert so it is part of an app.&lt;BR /&gt;
in the alert_actions.conf file I have tried calling a $result.$ to add it as an argument, creating a param.message using the same filed and calling that from in the script. &lt;BR /&gt;
None work.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 21:55:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-grab-data-from-a-the-search-result-for-an-API-call-script/m-p/341099#M62880</guid>
      <dc:creator>Athildjax64</dc:creator>
      <dc:date>2018-04-18T21:55:47Z</dc:date>
    </item>
  </channel>
</rss>

