<?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 set Default Time Range for View in viewstates.conf in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-Default-Time-Range-for-View-in-viewstates-conf/m-p/23917#M4321</link>
    <description>&lt;P&gt;tkadale,&lt;/P&gt;

&lt;P&gt;Have you tried &lt;CODE&gt;'_current'&lt;/CODE&gt; in viewstates.conf?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;## viewstates.conf
&amp;lt;viewstate_id&amp;gt; = '_current' is a reserved name for normal view 'sticky state'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 Jun 2011 17:07:57 GMT</pubDate>
    <dc:creator>hazekamp</dc:creator>
    <dc:date>2011-06-07T17:07:57Z</dc:date>
    <item>
      <title>How to set Default Time Range for View in viewstates.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-Default-Time-Range-for-View-in-viewstates-conf/m-p/23916#M4320</link>
      <description>&lt;P&gt;I have Screen 1 for which I have set default time range in viewstates.conf for a user as follows:&lt;/P&gt;

&lt;P&gt;[Screen_1:_current]&lt;/P&gt;

&lt;P&gt;TimeRangePicker_0_0_0.default = Last 7 days&lt;/P&gt;

&lt;P&gt;When Screen Loads for first time, it shows default time range as Last 7 Days.&lt;/P&gt;

&lt;P&gt;then I change the time range to "All Time" and see the graphs.&lt;/P&gt;

&lt;P&gt;After this I refresh the application. When I again select this Screen, default is shown "All Time".&lt;/P&gt;

&lt;P&gt;I have used isSticky=false in the XML of the Screen.&lt;/P&gt;

&lt;P&gt;When I checked viewstates.conf the default automatically changes to "All Time" from "Last 7 Days".&lt;/P&gt;

&lt;P&gt;Can anybody help.&lt;/P&gt;

&lt;P&gt;Thanks in advance! &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:39:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-Default-Time-Range-for-View-in-viewstates-conf/m-p/23916#M4320</guid>
      <dc:creator>tkadale</dc:creator>
      <dc:date>2020-09-28T09:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Default Time Range for View in viewstates.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-Default-Time-Range-for-View-in-viewstates-conf/m-p/23917#M4321</link>
      <description>&lt;P&gt;tkadale,&lt;/P&gt;

&lt;P&gt;Have you tried &lt;CODE&gt;'_current'&lt;/CODE&gt; in viewstates.conf?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;## viewstates.conf
&amp;lt;viewstate_id&amp;gt; = '_current' is a reserved name for normal view 'sticky state'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jun 2011 17:07:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-Default-Time-Range-for-View-in-viewstates-conf/m-p/23917#M4321</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-06-07T17:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Default Time Range for View in viewstates.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-Default-Time-Range-for-View-in-viewstates-conf/m-p/23918#M4322</link>
      <description>&lt;P&gt;Thanks for the reply!&lt;/P&gt;

&lt;P&gt;Sorry I didnt get what you want to say.I have configured in viewstates.conf as mentioned above.&lt;/P&gt;

&lt;P&gt;Please provide more details if possible&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2011 05:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-Default-Time-Range-for-View-in-viewstates-conf/m-p/23918#M4322</guid>
      <dc:creator>tkadale</dc:creator>
      <dc:date>2011-06-08T05:34:30Z</dc:date>
    </item>
  </channel>
</rss>

