<?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: All searches default to &amp;quot;All time&amp;quot;, even if option is disabled in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174991#M186625</link>
    <description>&lt;P&gt;Thanks MuS &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; typed it from my phone.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jan 2015 13:52:23 GMT</pubDate>
    <dc:creator>Raghav2384</dc:creator>
    <dc:date>2015-01-07T13:52:23Z</dc:date>
    <item>
      <title>All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174985#M186619</link>
      <description>&lt;P&gt;We're currently running Splunk Enterprise 6.2 in one of our environments and whenever any search is done, the time range picker defaults to "All time". This is very bad for us, and we would preferably disable it all together, or at least be able to select something more reasonable as the default option. &lt;/P&gt;

&lt;P&gt;Things that are unsuccessful:&lt;BR /&gt;
 - Setting the "preset" value in a Django template tag (described here: &lt;A href="http://docs.splunk.com/Documentation/WebFramework"&gt;http://docs.splunk.com/Documentation/WebFramework&lt;/A&gt;)&lt;BR /&gt;
 - Creating an app-specific ui-configuration (in times.conf) with the "all time"-option disabled&lt;BR /&gt;
 - Disabling the global "all time"-option system-wide&lt;/P&gt;

&lt;P&gt;Despite all this, it still defaults to "all time". I read somewhere on here earlier today that this is a known bug, but I can't seem to find the page again. Does anyone know of any workarounds for this? &lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174985#M186619</guid>
      <dc:creator>eirik_talberg</dc:creator>
      <dc:date>2015-01-07T13:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174986#M186620</link>
      <description>&lt;P&gt;Can be selected in ui-prefs.conf&lt;/P&gt;

&lt;P&gt;Splunkhome/etc/system/local/ui-prefs.conf&lt;/P&gt;

&lt;P&gt;Add a stanza&lt;BR /&gt;
[search]&lt;BR /&gt;
dispatch.earliest_time = @d&lt;BR /&gt;
dispatch.latest_time = now&lt;/P&gt;

&lt;P&gt;Save restart splunk. Hope this helps&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:36:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174986#M186620</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2020-09-28T18:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174987#M186621</link>
      <description>&lt;P&gt;correction of small typo, it should be [search] not [Search]&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:35:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174987#M186621</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-07T13:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174988#M186622</link>
      <description>&lt;P&gt;Does this set a permanent limit, or just the default value for the search?&lt;/P&gt;

&lt;P&gt;Is the stanza the app name?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174988#M186622</guid>
      <dc:creator>eirik_talberg</dc:creator>
      <dc:date>2015-01-07T13:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174989#M186623</link>
      <description>&lt;P&gt;no, this sets the default time range for the view named &lt;CODE&gt;search&lt;/CODE&gt; see the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Admin/Ui-prefsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Admin/Ui-prefsconf&lt;/A&gt; for details&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:40:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174989#M186623</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-07T13:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174990#M186624</link>
      <description>&lt;P&gt;Unfortunately, I'm not dealing with XML views, but rather a Django template in the Web Framework. The search control is handled like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; {% timerange id="timerange" 
            managerid="base_search"
            preset="Last 24 hours" 
            earliest_time="$earliestval$"|token_safe 
            latest_time="$latestval$"|token_safe  
        %}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From the doc:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;stanza name&amp;gt;]
* Stanza name is the name of the xml view file
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Unless I've missed something, that is. &lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:47:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174990#M186624</guid>
      <dc:creator>eirik_talberg</dc:creator>
      <dc:date>2015-01-07T13:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174991#M186625</link>
      <description>&lt;P&gt;Thanks MuS &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; typed it from my phone.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174991#M186625</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-01-07T13:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174992#M186626</link>
      <description>&lt;P&gt;This was caused by a bug in Splunk 6.2.0, and is fixed in 6.2.1. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2015 10:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174992#M186626</guid>
      <dc:creator>eirik_talberg</dc:creator>
      <dc:date>2015-04-21T10:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: All searches default to "All time", even if option is disabled</title>
      <link>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174993#M186627</link>
      <description>&lt;P&gt;This was caused by a bug in Splunk 6.2.0, and is fixed in 6.2.1. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2015 10:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/All-searches-default-to-quot-All-time-quot-even-if-option-is/m-p/174993#M186627</guid>
      <dc:creator>eirik_talberg</dc:creator>
      <dc:date>2015-04-21T10:15:25Z</dc:date>
    </item>
  </channel>
</rss>

