<?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 Custom Time Range Sub-Menu Broken? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144028#M2325</link>
    <description>&lt;P&gt;I'm currently looking at migrating from Splunk 5.0.5 to Splunk 6.0.0 and one area where we're having issues is in times.conf&lt;/P&gt;

&lt;P&gt;In here:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/etc/system/local/times.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We have:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[custom_menu]
label = Custom_Menu
is_sub_menu = True
order = 300

[range_1]
label = Range 1
earliest_time = 1307919600
latest_time = 1309734000
order = 5
sub_menu = Custom_Menu

[range_2]
label = Range 2
earliest_time = 1307919600
latest_time = 1308006000
order = 10
sub_menu = Custom_Menu
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;No matter what I try, the two ranges 'Range 1' and 'Range 2' do not appear under the defined Sub Menu (Custom_Menu). The ranges just appear under the 'Other' Sub Menu in the Time Ranger Picker.&lt;/P&gt;

&lt;P&gt;This was all working fine in 5.0.5&lt;/P&gt;

&lt;P&gt;Am I doing anything wrong, or is this possibly a bug in 6.0.0?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Graham&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2013 08:34:30 GMT</pubDate>
    <dc:creator>gmor</dc:creator>
    <dc:date>2013-11-15T08:34:30Z</dc:date>
    <item>
      <title>Custom Time Range Sub-Menu Broken?</title>
      <link>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144028#M2325</link>
      <description>&lt;P&gt;I'm currently looking at migrating from Splunk 5.0.5 to Splunk 6.0.0 and one area where we're having issues is in times.conf&lt;/P&gt;

&lt;P&gt;In here:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/etc/system/local/times.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We have:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[custom_menu]
label = Custom_Menu
is_sub_menu = True
order = 300

[range_1]
label = Range 1
earliest_time = 1307919600
latest_time = 1309734000
order = 5
sub_menu = Custom_Menu

[range_2]
label = Range 2
earliest_time = 1307919600
latest_time = 1308006000
order = 10
sub_menu = Custom_Menu
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;No matter what I try, the two ranges 'Range 1' and 'Range 2' do not appear under the defined Sub Menu (Custom_Menu). The ranges just appear under the 'Other' Sub Menu in the Time Ranger Picker.&lt;/P&gt;

&lt;P&gt;This was all working fine in 5.0.5&lt;/P&gt;

&lt;P&gt;Am I doing anything wrong, or is this possibly a bug in 6.0.0?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Graham&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 08:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144028#M2325</guid>
      <dc:creator>gmor</dc:creator>
      <dc:date>2013-11-15T08:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Time Range Sub-Menu Broken?</title>
      <link>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144029#M2326</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;After logging this with Splunk support, I'm told that sub-menus in the Time Ranger Picker are no longer supported.&lt;/P&gt;

&lt;P&gt;This is massively disappointing and feels very short-sighted.&lt;/P&gt;

&lt;P&gt;I'd love to understand the reasoning behind this if anyone from the Splunk Team would like to comment..?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 10:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144029#M2326</guid>
      <dc:creator>gmor</dc:creator>
      <dc:date>2013-11-25T10:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Time Range Sub-Menu Broken?</title>
      <link>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144030#M2327</link>
      <description>&lt;P&gt;Same problem.   Please update splunkdocs, the info there for times.conf is incorrect.  I am really disappointed by this change.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2014 20:43:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144030#M2327</guid>
      <dc:creator>adylent</dc:creator>
      <dc:date>2014-01-15T20:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Time Range Sub-Menu Broken?</title>
      <link>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144031#M2328</link>
      <description>&lt;P&gt;Seeing same behvaiour for Splunk 6.0.1.&lt;/P&gt;

&lt;P&gt;Edit: &lt;STRONG&gt;To get the old Time Picker and other widgets&lt;/STRONG&gt;, convert your dashboard to Advanced XML (if it isn't already) and set its &lt;CODE&gt;objectMode&lt;/CODE&gt; to &lt;CODE&gt;viewconf&lt;/CODE&gt;. I'm not very familiar with what &lt;CODE&gt;objectMode&lt;/CODE&gt; does, except control how the dashboard is rendered, so please check that it still works as intended. Here's a question about it: &lt;A href="http://answers.splunk.com/answers/28600/what-does-objectmode-mean-for-a-view"&gt;http://answers.splunk.com/answers/28600/what-does-objectmode-mean-for-a-view&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically, I had this in my app's &lt;CODE&gt;times.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mymenu]
is_sub_menu = True

[mymenu_today]
label = Today (from 8:00)
earliest_time = @d+8h
latest_time = now
order = 10
sub_menu = mymenu
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and it just ends up under "Relative" in the time picker.&lt;/P&gt;

&lt;P&gt;You can get the old time picker, though. I have the app Deployment Monitor v5.0.3 (&lt;A href="http://apps.splunk.com/app/1294/"&gt;http://apps.splunk.com/app/1294/&lt;/A&gt;) installed, and it seems to use the old flash charts and interface components. The same is true for Splunk On Splunk 3.1.0. They both display my custom time ranges in the correct sub menu.&lt;/P&gt;

&lt;P&gt;So, I suggest you duplicate how their dashboards are built if you want to ensure you can use your time ranges.&lt;/P&gt;

&lt;P&gt;Interestingly, &lt;CODE&gt;sub_menu&lt;/CODE&gt; is still used by the default &lt;CODE&gt;times.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#line 51:
[other]
label = Other
is_sub_menu = True
order = 200

[today]
label = Today
earliest_time = @d
latest_time = now
order = 100
sub_menu = Other
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Jan 2014 15:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Custom-Time-Range-Sub-Menu-Broken/m-p/144031#M2328</guid>
      <dc:creator>laserval</dc:creator>
      <dc:date>2014-01-21T15:59:21Z</dc:date>
    </item>
  </channel>
</rss>

