<?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 use the interval parameter for modular input ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-use-the-interval-parameter-for-modular-input/m-p/144629#M29530</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;The interval for a modular input is defined in inputs.conf stanza for the modular input script script.&lt;BR /&gt;
If you modular input script is named foobar.py then you can define &lt;/P&gt;

&lt;P&gt;inputs.conf&lt;BR /&gt;
[foobar://myname]&lt;BR /&gt;
interval=10&lt;BR /&gt;
myparam1 = true&lt;/P&gt;

&lt;P&gt;Then foobar will be executed every 10 seconds.&lt;BR /&gt;
The documentation is quite misleading..  also have to test it out out while creating a modular input. &lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 16:48:44 GMT</pubDate>
    <dc:creator>schose</dc:creator>
    <dc:date>2017-05-18T16:48:44Z</dc:date>
    <item>
      <title>how to use the interval parameter for modular input ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-use-the-interval-parameter-for-modular-input/m-p/144628#M29529</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I got confused while reading the documentation: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/AdvancedDev/ModInputsSpec#interval_parameter"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.2/AdvancedDev/ModInputsSpec#interval_parameter&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It says&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Some parameters are always implicitly defined by Splunk. Specifying any of the following parameters for your modular inputs &lt;STRONG&gt;has no effect&lt;/STRONG&gt;. However, you could specify these to help clarify the usage: .. interval&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Avoid using interval as a parameter&lt;/STRONG&gt;. This parameter is reserved by Splunk for future use.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Then&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;New with Splunk 6, you can optionally specify the interval parameter&lt;/STRONG&gt; much as you can with scripted inputs.&lt;BR /&gt;
Entering an empty value for interval results in a script only being executed on start and/or endpoint reload (on edit).&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I tried to write a Java modular input for Splunk6 and use the interval=6000 in the inputs.conf.spec. According to the log,  my input is only called once.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 12:29:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-use-the-interval-parameter-for-modular-input/m-p/144628#M29529</guid>
      <dc:creator>jzhong_splunk</dc:creator>
      <dc:date>2014-04-28T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the interval parameter for modular input ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-use-the-interval-parameter-for-modular-input/m-p/144629#M29530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;The interval for a modular input is defined in inputs.conf stanza for the modular input script script.&lt;BR /&gt;
If you modular input script is named foobar.py then you can define &lt;/P&gt;

&lt;P&gt;inputs.conf&lt;BR /&gt;
[foobar://myname]&lt;BR /&gt;
interval=10&lt;BR /&gt;
myparam1 = true&lt;/P&gt;

&lt;P&gt;Then foobar will be executed every 10 seconds.&lt;BR /&gt;
The documentation is quite misleading..  also have to test it out out while creating a modular input. &lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:48:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-use-the-interval-parameter-for-modular-input/m-p/144629#M29530</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2017-05-18T16:48:44Z</dc:date>
    </item>
  </channel>
</rss>

