<?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: Script Input to be triggered only whenever the script is not running in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Script-Input-to-be-triggered-only-whenever-the-script-is-not/m-p/336225#M62164</link>
    <description>&lt;P&gt;Below idea might help you. But consider about performance &lt;/P&gt;

&lt;P&gt;1) Create another script to monitor existing python script.Map a new script to saved search and scheduled it for every minute.  In search string give as "|noop".  Check the perfomance &lt;BR /&gt;
2) Create a bash script to execute exsting python script and assign to cron tab.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 14:39:26 GMT</pubDate>
    <dc:creator>sbbadri</dc:creator>
    <dc:date>2017-07-28T14:39:26Z</dc:date>
    <item>
      <title>Script Input to be triggered only whenever the script is not running</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Script-Input-to-be-triggered-only-whenever-the-script-is-not/m-p/336224#M62163</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;

&lt;P&gt;I am having a python script that runs without exiting the while loop so this configured as scripted input in splunk &lt;/P&gt;

&lt;P&gt;[script://......]&lt;/P&gt;

&lt;P&gt;As this as non exit script i dont want to use interval=X seconds and trigger it for every certain interval but wanted to trigger it whenever this script is not running any idea please &lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 10:26:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Script-Input-to-be-triggered-only-whenever-the-script-is-not/m-p/336224#M62163</guid>
      <dc:creator>deepthi5</dc:creator>
      <dc:date>2017-07-28T10:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script Input to be triggered only whenever the script is not running</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Script-Input-to-be-triggered-only-whenever-the-script-is-not/m-p/336225#M62164</link>
      <description>&lt;P&gt;Below idea might help you. But consider about performance &lt;/P&gt;

&lt;P&gt;1) Create another script to monitor existing python script.Map a new script to saved search and scheduled it for every minute.  In search string give as "|noop".  Check the perfomance &lt;BR /&gt;
2) Create a bash script to execute exsting python script and assign to cron tab.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 14:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Script-Input-to-be-triggered-only-whenever-the-script-is-not/m-p/336225#M62164</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-07-28T14:39:26Z</dc:date>
    </item>
  </channel>
</rss>

