<?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: Cron for Interval not working in inputs.conf where a digit amount is in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319991#M59764</link>
    <description>&lt;P&gt;Thanks to @richgalloway, I've realized that cron works for scripted inputs but it is not supported for perfmon. &lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 12:41:52 GMT</pubDate>
    <dc:creator>joshuayourth</dc:creator>
    <dc:date>2017-10-23T12:41:52Z</dc:date>
    <item>
      <title>Cron for Interval not working in inputs.conf where a digit amount is</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319984#M59757</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I may be missing something here and I apologize but I have searched quite a bit.&lt;/P&gt;

&lt;P&gt;I want my inputs.conf  to check for active sessions every 30 minutes. ideally on the hour and half hour.&lt;/P&gt;

&lt;P&gt;If I set interval  = &lt;CODE&gt;*/30 * * * *&lt;/CODE&gt;&lt;BR /&gt;
I believe that should do it. however when I do this, it sends results every 10 seconds.&lt;BR /&gt;
where as if I set interval = 1800&lt;BR /&gt;
It does every 30 minutes, just not on the times I would like.&lt;BR /&gt;
Here is the stanza.&lt;/P&gt;

&lt;P&gt;[perfmon://Terminal Services]&lt;BR /&gt;
counters = Total Sessions; Active Sessions; Inactive Sessions;&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = perfmon&lt;BR /&gt;
object = Terminal Services&lt;BR /&gt;
interval = 1800&lt;BR /&gt;
showZeroValue = 1&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;Joshua &lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:38:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319984#M59757</guid>
      <dc:creator>joshuayourth</dc:creator>
      <dc:date>2017-10-20T14:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cron for Interval not working in inputs.conf where a digit amount is</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319985#M59758</link>
      <description>&lt;P&gt;Try &lt;CODE&gt;0,30 * * * *&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 16:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319985#M59758</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-10-20T16:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cron for Interval not working in inputs.conf where a digit amount is</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319986#M59759</link>
      <description>&lt;P&gt;Hey Thanks for the response.&lt;/P&gt;

&lt;P&gt;Still, inputs.conf seems to ignore the cron and sends every 10 seconds.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 19:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319986#M59759</guid>
      <dc:creator>joshuayourth</dc:creator>
      <dc:date>2017-10-20T19:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cron for Interval not working in inputs.conf where a digit amount is</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319987#M59760</link>
      <description>&lt;P&gt;Are you restarting Splunk after editing the file?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 19:56:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319987#M59760</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-10-20T19:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cron for Interval not working in inputs.conf where a digit amount is</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319988#M59761</link>
      <description>&lt;P&gt;After redeploying the app to the forwarders I have Restart Splunk checked. I have not been restarting the search head/indexer. Should I be?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 19:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319988#M59761</guid>
      <dc:creator>joshuayourth</dc:creator>
      <dc:date>2017-10-20T19:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cron for Interval not working in inputs.conf where a digit amount is</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319989#M59762</link>
      <description>&lt;P&gt;Ah, it's been a long day it just dawned on me that you're trying to use cron for something other than a scripted input.  I've never seen it done for a perfmon input.  If the manual implies it's possible then you should contact support.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 20:27:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319989#M59762</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-10-20T20:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cron for Interval not working in inputs.conf where a digit amount is</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319990#M59763</link>
      <description>&lt;P&gt;You are right. it does not say it works for perfmon. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 12:41:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319990#M59763</guid>
      <dc:creator>joshuayourth</dc:creator>
      <dc:date>2017-10-23T12:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cron for Interval not working in inputs.conf where a digit amount is</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319991#M59764</link>
      <description>&lt;P&gt;Thanks to @richgalloway, I've realized that cron works for scripted inputs but it is not supported for perfmon. &lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 12:41:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cron-for-Interval-not-working-in-inputs-conf-where-a-digit/m-p/319991#M59764</guid>
      <dc:creator>joshuayourth</dc:creator>
      <dc:date>2017-10-23T12:41:52Z</dc:date>
    </item>
  </channel>
</rss>

