<?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: Limit choices in default TIMEPICKER in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186236#M18683</link>
    <description>&lt;P&gt;@jwhubbard - I tried this already on 7.1.0 Build: 2e75b3406c5b, but did not work. I can't upgrade to 7.1.1 now unfortunately though.&lt;/P&gt;

&lt;P&gt;@runner724 - Thanks for your help. I am able to retain date range and date-time range panel using below.&lt;BR /&gt;
            div[data-test-panel-id^='advanced'],&lt;BR /&gt;
            div[data-test-panel-id^='presets'],&lt;BR /&gt;
            div[data-test-panel-id^='relative'],&lt;BR /&gt;
            div[data-test-panel-id^='real'] {&lt;BR /&gt;
              display: none !important;&lt;BR /&gt;
            }&lt;/P&gt;

&lt;P&gt;Could you please let me know how do you inspect the CSS components? In that way, I can make any changes required for future splunk releases.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 01:33:44 GMT</pubDate>
    <dc:creator>Murali2888</dc:creator>
    <dc:date>2018-08-07T01:33:44Z</dc:date>
    <item>
      <title>Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186221#M18668</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I am trying to limit the choices in the default timepicker in Simple XML.&lt;/P&gt;

&lt;P&gt;The ideas is to only keep: "Presets" and "Date &amp;amp; Time Range", and delete the rest for a specific application.&lt;/P&gt;

&lt;P&gt;Can you please provide me a way to do this ?&lt;/P&gt;

&lt;P&gt;Note: in the Times.conf file, seems like i can only disable/enable what is included in the "Presets" dropdown.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 14:19:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186221#M18668</guid>
      <dc:creator>jlhamlet</dc:creator>
      <dc:date>2015-03-13T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186222#M18669</link>
      <description>&lt;P&gt;Hi, you can do this with javascript. Have you ever expanded simple xml dashboards with javascript? If so, it should not be a problem for you to add this. If not, you get information &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/CustomizeSimpleXML"&gt;here&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require([
'underscore',
'jquery',
'splunkjs/mvc',
'splunkjs/mvc/simplexml/ready!'], function(_, $, mvc){

// Timerange Test
var mypresetsettings = {
    showCustomDateTime: true,
    showPresets: true,
    showCustomRealTime: false,
    showCustomAdvanced: false,
    showCustomRelative: false,
    showCustomDate: false
};

// Show only the date and time submenue of the timerangepicker
var timeRangePicker = mvc.Components.getInstance("input1");
timeRangePicker.options.dialogOptions = mypresetsettings;
console.log(timeRangePicker.options);
mvc.Components.getInstance("input1").render();
});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;You can edit, which presets are available in the "mypresetsettings" object, just toggle from true to false if you want to see it.&lt;BR /&gt;
Be aware, that "input1" was the id for the time range picker for me. This can be different for you, if it is not the first input element.&lt;BR /&gt;
If you add a .js file you have to restart your splunk to make it recognize it.&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 14:55:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186222#M18669</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2015-03-13T14:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186223#M18670</link>
      <description>&lt;P&gt;Has this worked ? I tried it and I have issues getting it to work. &lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 19:56:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186223#M18670</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2015-07-13T19:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186224#M18671</link>
      <description>&lt;P&gt;As an alternative to JavaScript, you can also manipulate the Dashboard Style Sheet (Splunk 6.2.x). Editing the dashboard stylesheet can be done while the site is running and will be the least intrusive to operations. &lt;/P&gt;

&lt;H3&gt;How it Works&lt;/H3&gt;

&lt;P&gt;Every accordion element (div) in the timepicker module starts with a specific prefix. By using the CSS selector attribute capability you can query the specific DIV ID's.  Settting the matching ID's to 'display: none;' effectively removes the HTML element from visibility/use. &lt;/P&gt;

&lt;P&gt;The configuration below will display the two options you requested. The optional component prefixes are commented out for anyone that wants to customize this differently.  &lt;/P&gt;

&lt;H4&gt;dashboard.css&lt;/H4&gt;

&lt;H5&gt;/opt/splunk/etc/apps/&amp;lt; appname &amp;gt;/appserver/static/dashboard.css&lt;/H5&gt;

&lt;PRE&gt;&lt;CODE&gt;/* ------------------------------------------------- */
/* Hides or display specific portions of the         */
/* Datetimepicker accordion                          */
/* ------------------------------------------------- */

/* OPTIONS
div[id^='presets_view']
div[id^='relative_view']
div[id^='realtime_view']
div[id^='daterange_view']
div[id^='dateandtimerange_view']
div[id^='advanced_view']
*/

div[id^='daterange_view'],
div[id^='advanced_view'],
div[id^='relative_view'],
div[id^='realtime_view'] {
    display: none;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may be able to use the debug/refresh endpoint to update the change, however I've found that it works best if you restart splunk or splunkweb after applying the change for the first time. Note: Your end users may have to clear/refresh their browser page caches as well. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk restart splunkweb
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jul 2015 16:11:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186224#M18671</guid>
      <dc:creator>jhubbard74</dc:creator>
      <dc:date>2015-07-27T16:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186225#M18672</link>
      <description>&lt;P&gt;+1&lt;/P&gt;

&lt;P&gt;One thing to add here: &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;splunk-web-address:8000/en-US/_bump&lt;/CODE&gt; can let you refresh your web assets &lt;STRONG&gt;without&lt;/STRONG&gt; restarting all of splunkweb.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 21:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186225#M18672</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2016-01-14T21:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186226#M18673</link>
      <description>&lt;P&gt;Thanks for the info. With the latest release, you should be able to add the CSS directly into the xml. On top of that, using the strategy below, you can even hide specific items. In the example below, I've hidden the presets link for: today, last 15m, last 60m, last 4hr, and last 24hr. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;html&amp;gt;           
       &amp;lt;style&amp;gt;              

           /*
           div[id^='presets_view3278'], &amp;gt;&amp;gt; PRESETS
           div[id^='daterange_view3278'], &amp;gt;&amp;gt; Date Range
           div[id^='advanced_view3278'], &amp;gt;&amp;gt; Advanced
           div[id^='relative_view3278'], &amp;gt;&amp;gt;  Relative
           div[id^='realtime_view3278'] &amp;gt;&amp;gt; Realtime{
             display: none;
           }*/
           li a[data-earliest^='@d'],
           li a[data-earliest^='-15m'],
           li a[data-earliest^='-60m@m'],
           li a[data-earliest^='-4h@m'],
           li a[data-earliest^='-24h@h'],
           {
             display: none;
           }


      &amp;lt;/style&amp;gt;&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 May 2017 16:00:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186226#M18673</guid>
      <dc:creator>spammenot66</dc:creator>
      <dc:date>2017-05-11T16:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186227#M18674</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;1 - I created /opt/splunk/etc/apps/MyApp/appserver/static/dashboard.css with the exact content of the dashboad.css above&lt;/P&gt;

&lt;P&gt;2 - I added script="dashboard.css" to my xml file. The first line is now like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form script="dashboard.css"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;3 - I confirmed that the permissions in the folders and files are ok. I restarted Splunk.&lt;/P&gt;

&lt;P&gt;Even so, I still have all the default options in the timepicker. Am I missing something?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 19:54:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186227#M18674</guid>
      <dc:creator>nuaraujo</dc:creator>
      <dc:date>2017-09-20T19:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186228#M18675</link>
      <description>&lt;P&gt;@nuaraujo You need to use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form stylesheet="dashboard.css"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Mar 2018 19:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186228#M18675</guid>
      <dc:creator>bdiego_splunk</dc:creator>
      <dc:date>2018-03-23T19:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186229#M18676</link>
      <description>&lt;P&gt;Does this still work in V7.1?&lt;BR /&gt;
Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:08:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186229#M18676</guid>
      <dc:creator>gmorris_splunk</dc:creator>
      <dc:date>2018-06-28T15:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186230#M18677</link>
      <description>&lt;P&gt;In version Splunk 7.0+, dashboard DOM was significantly changed and the CSS example above no longer works.  Here is an updated example that will remove the "Real time" column from the "Presets" tab of time pickers:&lt;/P&gt;

&lt;P&gt;div[data-test^='real-time-column'] {&lt;BR /&gt;
        display: none;&lt;BR /&gt;
}&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 17:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186230#M18677</guid>
      <dc:creator>runner724</dc:creator>
      <dc:date>2018-07-16T17:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186231#M18678</link>
      <description>&lt;P&gt;@runner724 Can you let me know how we can remove Advanced and Relative tab? I am looking to retain only "Date Range panel". I tried above method which only works for Presets tab columns.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 12:18:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186231#M18678</guid>
      <dc:creator>Murali2888</dc:creator>
      <dc:date>2018-08-06T12:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186232#M18679</link>
      <description>&lt;P&gt;Unfortunately this doesn't work for me?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 15:10:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186232#M18679</guid>
      <dc:creator>gmorris_splunk</dc:creator>
      <dc:date>2018-08-06T15:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186233#M18680</link>
      <description>&lt;P&gt;Yeah my CSS only works for the presets tab column.   Looking at the CSS for the 'Advanced' major tab, I see: &lt;/P&gt;

&lt;P&gt;(...) data-test-panel-id="advanced" (...)&lt;/P&gt;

&lt;P&gt;So logically I would expect this CSS to remove that entire tab:&lt;/P&gt;

&lt;P&gt;div[data-test-panel-id^='advanced'] {&lt;BR /&gt;
display: none !important;&lt;BR /&gt;
}&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 15:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186233#M18680</guid>
      <dc:creator>runner724</dc:creator>
      <dc:date>2018-08-06T15:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186234#M18681</link>
      <description>&lt;P&gt;Are you on Splunk &amp;gt; 7.0 and did you use _bump after modifying the CSS?  &lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 15:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186234#M18681</guid>
      <dc:creator>runner724</dc:creator>
      <dc:date>2018-08-06T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186235#M18682</link>
      <description>&lt;P&gt;This will hide all Accordion Panels except Date Range Panel.  Tested in Version: 7.1.1 Build: 8f0ead9ec3db&lt;BR /&gt;
    div[id^='dateandtimerange_view'], &lt;BR /&gt;
    div[id^='presets_view'], &lt;BR /&gt;
    div[id^='advanced_view'], &lt;BR /&gt;
    div[id^='relative_view'], &lt;BR /&gt;
    div[id^='realtime_view'] {&lt;BR /&gt;
        display: none;&lt;BR /&gt;
    }&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186235#M18682</guid>
      <dc:creator>jwhubbard</dc:creator>
      <dc:date>2020-09-29T20:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186236#M18683</link>
      <description>&lt;P&gt;@jwhubbard - I tried this already on 7.1.0 Build: 2e75b3406c5b, but did not work. I can't upgrade to 7.1.1 now unfortunately though.&lt;/P&gt;

&lt;P&gt;@runner724 - Thanks for your help. I am able to retain date range and date-time range panel using below.&lt;BR /&gt;
            div[data-test-panel-id^='advanced'],&lt;BR /&gt;
            div[data-test-panel-id^='presets'],&lt;BR /&gt;
            div[data-test-panel-id^='relative'],&lt;BR /&gt;
            div[data-test-panel-id^='real'] {&lt;BR /&gt;
              display: none !important;&lt;BR /&gt;
            }&lt;/P&gt;

&lt;P&gt;Could you please let me know how do you inspect the CSS components? In that way, I can make any changes required for future splunk releases.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 01:33:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186236#M18683</guid>
      <dc:creator>Murali2888</dc:creator>
      <dc:date>2018-08-07T01:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186237#M18684</link>
      <description>&lt;P&gt;Put your browser in dev mode (F12) and use the element selector tool to select the thing you are interested in.  This will jump the DOM to where that element is on the page.  &lt;/P&gt;

&lt;P&gt;Then you have to look at the element's DOM and figure out how to target it precisely with CSS.  This is pretty tricky after the 7.1.x update because the entire dashboard is now a deep pile of nested div elements with strange attributes (even things like radio buttons and text inputs)&lt;/P&gt;

&lt;P&gt;It was easy in 7.0.0 but to this day I struggle with CSS that will resize a drop-down correctly in 7.1.x.  Would be nice if Splunk made it easier to give a specific size to UI elements...&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 16:12:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186237#M18684</guid>
      <dc:creator>runner724</dc:creator>
      <dc:date>2018-08-07T16:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186238#M18685</link>
      <description>&lt;P&gt;Thanks @runner724 &lt;BR /&gt;
Got it working now, also found background color and width for those interested.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;style&amp;gt;
      body,
      .dashboard-body,
      .footer,
      .dashboard-panel,
      .nav
      {
      background: #F8FCF7;
      }

      div[data-test^='time-range-dialog']
      {
      background-color: #EDF8EB;
      min-width: 300px !important;
      width: 400px !important;
      }
      div[data-test^='body']
      {
      background-color: #D1ECCC;
      }
      div[data-test^='real-time-column'], 
      &amp;lt;!-- div[data-test^='relative'], --&amp;gt;
      div[data-test^='other'],
      &amp;lt;!--div[data-test-panel-id^='preset'], --&amp;gt;
      div[data-test-panel-id^='date'],
      div[data-test-panel-id^='dateTime'],
      div[data-test-panel-id^='advanced'],
      div[data-test-panel-id^='realTime'],
      div[data-test-panel-id^='relative']
      {
      display: none !important;
      }
          &amp;lt;/style&amp;gt;
        &amp;lt;/html&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:08:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186238#M18685</guid>
      <dc:creator>gmorris_splunk</dc:creator>
      <dc:date>2018-08-08T10:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186239#M18686</link>
      <description>&lt;P&gt;For who search for time-picker options using stylesheet didnt work after upgrade to version 7.x.&lt;BR /&gt;
Here is the updated stylesheet (.css) to restrict time-picker selections . Edit as needed to hide time-picker options selectively..&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Tested and working in Splunk version in 7.1.2 !&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;PRE&gt;&lt;CODE&gt;/* ------------------------------------------------- */
/* Hides or display specific portions of the         */
/* Datetimepicker accordion                          */
/* ------------------------------------------------- */

/* OPTIONS
div[data-test-panel-id^='presets']
div[data-test-panel-id^='relative']
div[data-test-panel-id^='realTime']
div[data-test-panel-id^='date']
div[data-test-panel-id^='dateTime']
div[data-test-panel-id^='advanced']
*/


/*Hide advanced, realtime, real, and few presets  - tested in splunk v7.1.2*/
button[data-test^='Business week to date'],
button[data-test^='Week to date'],
button[data-test^='Year to date'],
button[data-test^='Previous week'],
button[data-test^='Previous business week'],
button[data-test^='Previous month'],
button[data-test^='Previous year'],
button[data-test^='Last 15 minutes'],
button[data-test^='Last 60 minutes'],
div[data-test^='real-time-column'],
div[data-test^='past'],
div[data-test^='other-column'],
div[data-test-panel-id^='advanced'],
div[data-test-panel-id^='relative'],
div[data-test-panel-id^='real']
{
display: none !important;
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Oct 2018 09:58:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186239#M18686</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2018-10-01T09:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Limit choices in default TIMEPICKER</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186240#M18687</link>
      <description>&lt;P&gt;Is this script worked in Splunk 7.2  ? &lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 06:23:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Limit-choices-in-default-TIMEPICKER/m-p/186240#M18687</guid>
      <dc:creator>tonyca</dc:creator>
      <dc:date>2018-11-15T06:23:41Z</dc:date>
    </item>
  </channel>
</rss>

