<?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 Splunk cron vs scheduler in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Splunk-cron-vs-scheduler/m-p/545626#M10362</link>
    <description>&lt;P&gt;Greeting Splunkers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm researching an issue with Splunk scheduled reports and I came across the .conf2017 material "Making the Most of the Splunk Scheduler" (see attached snippet of page 10 of the material).&amp;nbsp; &amp;nbsp; The issue we're seeing is some scheduled jobs are not returning results but when the same SPL that's in the job is run real-time there are results.&amp;nbsp; &amp;nbsp; The jobs are scheduled as a cron within the Splunk UI Schedule "Run on Cron Schedule".&amp;nbsp; &amp;nbsp; I came cross the .conf2017 material and maybe found an issue or concern related to the issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please clarify a couple things:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- the material mentions that Cron is "Limited to a single machine".&amp;nbsp; &amp;nbsp;What does this mean and how does Splunk determine which machine/server to utilize?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;- we schedule most of jobs as Cron because it has a little more flexibility with the time to set the start time.&amp;nbsp; I also came across the limits.conf and authorized.conf documentation and found that all of the Splunk settings are still set to the default.&amp;nbsp; &amp;nbsp;In further researching the issue, it seems there are approximately 30 jobs starting or running at 0400 when the job in question is not returning results.&amp;nbsp; &amp;nbsp; So the other question is, are we hitting a system limit and can Splunk be optimized or tweaked to support more jobs and/or is the system limit causing the report to return no results?&amp;nbsp; &amp;nbsp;If Splunk can be optimized/tweaked which parameters or settings needs to be changed?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&amp;nbsp; &amp;nbsp;Thanks in advance for any help and insight.&amp;nbsp; &amp;nbsp; Cheers!&lt;/P&gt;</description>
    <pubDate>Fri, 26 Mar 2021 15:43:17 GMT</pubDate>
    <dc:creator>marceloalejandr</dc:creator>
    <dc:date>2021-03-26T15:43:17Z</dc:date>
    <item>
      <title>Splunk cron vs scheduler</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-cron-vs-scheduler/m-p/545626#M10362</link>
      <description>&lt;P&gt;Greeting Splunkers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm researching an issue with Splunk scheduled reports and I came across the .conf2017 material "Making the Most of the Splunk Scheduler" (see attached snippet of page 10 of the material).&amp;nbsp; &amp;nbsp; The issue we're seeing is some scheduled jobs are not returning results but when the same SPL that's in the job is run real-time there are results.&amp;nbsp; &amp;nbsp; The jobs are scheduled as a cron within the Splunk UI Schedule "Run on Cron Schedule".&amp;nbsp; &amp;nbsp; I came cross the .conf2017 material and maybe found an issue or concern related to the issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please clarify a couple things:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- the material mentions that Cron is "Limited to a single machine".&amp;nbsp; &amp;nbsp;What does this mean and how does Splunk determine which machine/server to utilize?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;- we schedule most of jobs as Cron because it has a little more flexibility with the time to set the start time.&amp;nbsp; I also came across the limits.conf and authorized.conf documentation and found that all of the Splunk settings are still set to the default.&amp;nbsp; &amp;nbsp;In further researching the issue, it seems there are approximately 30 jobs starting or running at 0400 when the job in question is not returning results.&amp;nbsp; &amp;nbsp; So the other question is, are we hitting a system limit and can Splunk be optimized or tweaked to support more jobs and/or is the system limit causing the report to return no results?&amp;nbsp; &amp;nbsp;If Splunk can be optimized/tweaked which parameters or settings needs to be changed?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&amp;nbsp; &amp;nbsp;Thanks in advance for any help and insight.&amp;nbsp; &amp;nbsp; Cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 15:43:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-cron-vs-scheduler/m-p/545626#M10362</guid>
      <dc:creator>marceloalejandr</dc:creator>
      <dc:date>2021-03-26T15:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk cron vs scheduler</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-cron-vs-scheduler/m-p/545634#M10363</link>
      <description>&lt;P&gt;I'm not sure anything on the left side of page 10 was ever true.&amp;nbsp; Jobs scheduled with cron syntax are subject to the quotas as other scheduled searches, can use schedule window and skew, and are scheduled across a SHC.&lt;/P&gt;&lt;P&gt;It's possible the job did not return results because it was skipped.&amp;nbsp; Splunk should have logged the skip - search for &lt;FONT face="courier new,courier"&gt;index=_internal sourcetype=Scheduler status=skipped&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;Thirty jobs is too many to run at once on fewer than 60 SH CPUs. Re-distribute the search schedules for a more even run count.&amp;nbsp; The MC can help with that as can the dashboard at&amp;nbsp;&lt;A href="https://github.com/dpaper-splunk/public/blob/master/dashboards/extended_search_reporting.xml" target="_blank"&gt;https://github.com/dpaper-splunk/public/blob/master/dashboards/extended_search_reporting.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 16:44:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-cron-vs-scheduler/m-p/545634#M10363</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-03-26T16:44:29Z</dc:date>
    </item>
  </channel>
</rss>

