<?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: Is there a way to specify the Splunk search Schedule Window defaults? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361777#M6266</link>
    <description>&lt;P&gt;You can set the default time range for ad-hoc searches across all apps using &lt;STRONG&gt;Settings &amp;gt; Server Settings &amp;gt; Search Preferences&lt;/STRONG&gt; or  &lt;CODE&gt;user-prefs.conf&lt;/CODE&gt;. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Changedefaultvalues#Set_the_default_time_range"&gt;Change default values&lt;/A&gt; in the &lt;EM&gt;Admin Manual&lt;/EM&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2017 19:53:20 GMT</pubDate>
    <dc:creator>ChrisG</dc:creator>
    <dc:date>2017-03-20T19:53:20Z</dc:date>
    <item>
      <title>Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361776#M6265</link>
      <description>&lt;P&gt;We have a distributed environment, and a lot of people have searches set to run every 15 minutes.  This is leading to a huge spike in searches every 15 minutes.  Is there a way to specify the Schedule Window to default to auto or 5 minutes, and allow overrides manually as needed?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Report/PrioritizescheduledreportsinSplunkWeb"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Report/PrioritizescheduledreportsinSplunkWeb&lt;/A&gt; mentioned the possibility of auto, but I haven't seen that option in Splunk Web.  I haven't seen anything that says that you can set a default option for that setting.&lt;/P&gt;

&lt;P&gt;Thank you for any information you can provide.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
-Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 19:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361776#M6265</guid>
      <dc:creator>jeffreyjewitt</dc:creator>
      <dc:date>2017-03-20T19:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361777#M6266</link>
      <description>&lt;P&gt;You can set the default time range for ad-hoc searches across all apps using &lt;STRONG&gt;Settings &amp;gt; Server Settings &amp;gt; Search Preferences&lt;/STRONG&gt; or  &lt;CODE&gt;user-prefs.conf&lt;/CODE&gt;. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Changedefaultvalues#Set_the_default_time_range"&gt;Change default values&lt;/A&gt; in the &lt;EM&gt;Admin Manual&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 19:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361777#M6266</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2017-03-20T19:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361778#M6267</link>
      <description>&lt;P&gt;I'm more looking for the Schedule Window for scheduled searches.  Ad hoc searches already have a lot of settings that are pushed to users.&lt;BR /&gt;
Thanks for your response though.&lt;BR /&gt;
-Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 19:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361778#M6267</guid>
      <dc:creator>jeffreyjewitt</dc:creator>
      <dc:date>2017-03-20T19:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361779#M6268</link>
      <description>&lt;P&gt;Oh, sorry, I completely misread your question! Must. Slow. Down.&lt;/P&gt;

&lt;P&gt;The default schedule window is auto if the role has the &lt;CODE&gt;edit_search_schedule_window&lt;/CODE&gt; priority. Do you have a role you can customize for these users? They will also need the &lt;CODE&gt;schedule_searches&lt;/CODE&gt; capability.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 20:47:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361779#M6268</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2017-03-20T20:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361780#M6269</link>
      <description>&lt;P&gt;Hi Chris:&lt;BR /&gt;
The users role already has schedule_searches and edit_search_schedule_window.&lt;BR /&gt;
If I'm understanding things, then this means that with a Search Window of 0, then searches should be set to auto by default.  Is there any way to tell whether a scheduled search is using/having its start time modified by a search window?&lt;BR /&gt;
Thanks&lt;BR /&gt;
-Jeff&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:16:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361780#M6269</guid>
      <dc:creator>jeffreyjewitt</dc:creator>
      <dc:date>2020-09-29T13:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361781#M6270</link>
      <description>&lt;P&gt;If you want definitive proof that a schedule window is being applied to a search, inspect &lt;CODE&gt;scheduler.log&lt;/CODE&gt; and see if a &lt;CODE&gt;window_time&lt;/CODE&gt; field is associated with the search. &lt;/P&gt;

&lt;P&gt;The true test, of course, is whether the schedule window is effective. You should only apply it to searches that seem to be causing other searches to skip their scheduled runs. If you apply it to a scheduled search and find that the skip frequency for the other searches decreases, that is a good indication that the window is doing its job. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 18:06:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361781#M6270</guid>
      <dc:creator>mattness</dc:creator>
      <dc:date>2017-03-21T18:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361782#M6271</link>
      <description>&lt;P&gt;Thank you very much, both of you!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 18:10:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361782#M6271</guid>
      <dc:creator>jeffreyjewitt</dc:creator>
      <dc:date>2017-03-21T18:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361783#M6272</link>
      <description>&lt;P&gt;FYI, mattness has updated the documentation topic to include this information now.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 22:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361783#M6272</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2017-03-21T22:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361784#M6273</link>
      <description>&lt;P&gt;Refer - &lt;A href="https://conf.splunk.com/session/2015/conf2015_PLucas_Splunk_SplunkEntWhatsNew_MakingTheMostOf.pdf"&gt;https://conf.splunk.com/session/2015/conf2015_PLucas_Splunk_SplunkEntWhatsNew_MakingTheMostOf.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thsi document discussed Schedule search window.&lt;/P&gt;

&lt;P&gt;Give a  schedule window to searches that don’t have to run at  specific time&lt;BR /&gt;
Example&lt;BR /&gt;
 For a given search, it’s OK if it starts running someHme between midnight and 6am, but you don't really care when specifically A search with a window helps other searches Search windows should not be used for searches that run every minute Search windows must be less than a search’s period &lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 23:28:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361784#M6273</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2017-03-21T23:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the Splunk search Schedule Window defaults?</title>
      <link>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361785#M6274</link>
      <description>&lt;P&gt;I guess you could edit $SPLUNK_HOME/etc/system/local/savedsearches.conf and add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;schedule_window = auto
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just make sure your existing searches that need a specific setting of 0, 1 etc have that set already. All searches you add after this change should now have auto set by default.&lt;/P&gt;

&lt;P&gt;You will need to teach your users that auto is a bad setting in certain situations.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 08:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Is-there-a-way-to-specify-the-Splunk-search-Schedule-Window/m-p/361785#M6274</guid>
      <dc:creator>mikaelbje</dc:creator>
      <dc:date>2017-06-09T08:10:23Z</dc:date>
    </item>
  </channel>
</rss>

