<?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 Scripted Input - &amp;amp;quot;persistent&amp;amp;quot; script in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-amp-quot-persistent-amp-quot-script/m-p/562453#M100183</link>
    <description>&lt;P&gt;Just want to confirm this behavior for a scripted input:&lt;/P&gt;&lt;P&gt;The script I want to call, actually runs perpetually... it calls an API, outputs the data, waits 120 seconds, calls the API again, wash rinse repeat.&lt;/P&gt;&lt;P&gt;What I'm wondering... can I schedule this script, say every 5minutes, and will the scheduler go "script is still running... not starting again"&amp;nbsp; ... if for whatever reason it stopped, it will just start it again?&lt;/P&gt;&lt;P&gt;Or will it just keep starting multiple instances of the script if it's still running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 17:35:03 GMT</pubDate>
    <dc:creator>beaunewcomb</dc:creator>
    <dc:date>2021-08-06T17:35:03Z</dc:date>
    <item>
      <title>Scripted Input - &amp;quot;persistent&amp;quot; script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-amp-quot-persistent-amp-quot-script/m-p/562453#M100183</link>
      <description>&lt;P&gt;Just want to confirm this behavior for a scripted input:&lt;/P&gt;&lt;P&gt;The script I want to call, actually runs perpetually... it calls an API, outputs the data, waits 120 seconds, calls the API again, wash rinse repeat.&lt;/P&gt;&lt;P&gt;What I'm wondering... can I schedule this script, say every 5minutes, and will the scheduler go "script is still running... not starting again"&amp;nbsp; ... if for whatever reason it stopped, it will just start it again?&lt;/P&gt;&lt;P&gt;Or will it just keep starting multiple instances of the script if it's still running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 17:35:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-amp-quot-persistent-amp-quot-script/m-p/562453#M100183</guid>
      <dc:creator>beaunewcomb</dc:creator>
      <dc:date>2021-08-06T17:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Input - &amp;quot;persistent&amp;quot; script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-amp-quot-persistent-amp-quot-script/m-p/562463#M100185</link>
      <description>&lt;P&gt;Splunk didn’t check if it is running or not. For that reason you should add this functionality inside the script or use any wrapper which can check that it’s not running already.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 18:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-Input-amp-quot-persistent-amp-quot-script/m-p/562463#M100185</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-08-06T18:50:03Z</dc:date>
    </item>
  </channel>
</rss>

