<?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: Shared Time picker is missing from Input (even in 6.5) in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227378#M14102</link>
    <description>&lt;P&gt;I tried this in simple XML and the time picker was visible.  Was that what you were looking for?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;dctest3&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;

      &amp;lt;input type="time" token="field1" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Select a Time Period&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-6h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;

      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=main|stats count by host&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;undefined&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;undefined&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 02 Oct 2016 03:41:35 GMT</pubDate>
    <dc:creator>dbcase</dc:creator>
    <dc:date>2016-10-02T03:41:35Z</dc:date>
    <item>
      <title>Shared Time picker is missing from Input (even in 6.5)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227377#M14101</link>
      <description>&lt;P&gt;I do use a lot of &lt;STRONG&gt;Input&lt;/STRONG&gt; to narrow down my graphs in my dashboard.&lt;/P&gt;

&lt;P&gt;Since I do not like the drop down list in the &lt;STRONG&gt;input&lt;/STRONG&gt; to be flooded, I like to use the same global time picker in &lt;STRONG&gt;Input&lt;/STRONG&gt; as well in &lt;STRONG&gt;Panel&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;If I add a &lt;STRONG&gt;Panel&lt;/STRONG&gt;, I can go to Edit Search-&amp;gt;Time Range Scope and select Shared Time Picker(some name)&lt;BR /&gt;
But if I do the same for an &lt;STRONG&gt;Input&lt;/STRONG&gt;, I only have the button for selecting a time range.  No option for selecting the &lt;STRONG&gt;Shared Time Picker&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Workaround is to do it manually by using &lt;STRONG&gt;earliest&lt;/STRONG&gt;, &lt;STRONG&gt;latest&lt;/STRONG&gt; option.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;input type="dropdown" token="Host" searchWhenChanged="true"&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;sourcetype=master |
          top host&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;$global_time.earliest$&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;$global_time.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;choice value="*"&amp;gt;Any&amp;lt;/choice&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;host&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;host&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is equal to the setup done for the &lt;STRONG&gt;Panel&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;So my request is that this is fixed in next version.&lt;BR /&gt;
I did hope this was fixed in 6.5, but it was not.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;UPDATE:&lt;BR /&gt;
This example should explain the problem.&lt;BR /&gt;
Look at line 15 and 16.  There you see the &lt;STRONG&gt;Global_Time&lt;/STRONG&gt; used in the input.&lt;BR /&gt;
It can be done using source edit, but not from the gui edit.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;dctest3&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false" autoRun="true"&amp;gt;
    &amp;lt;input type="time" token="Global_Time"&amp;gt;
      &amp;lt;label&amp;gt;`Time&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="Host" searchWhenChanged="true"&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=main |
          top host&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;$Global_Time.earliest$&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;$Global_Time.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;choice value="*"&amp;gt;Any&amp;lt;/choice&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;host&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;host&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=main host=$Host$ |stats count by host&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$Global_Time.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$Global_Time.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This picture is from the Panel and show the correct &lt;STRONG&gt;Time Range Scope&lt;/STRONG&gt;&lt;BR /&gt;
You can see the Global Time selected.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1959i43F0A08AACFB0AC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;.&lt;/P&gt;

&lt;P&gt;Now, take a look at time range section for the &lt;STRONG&gt;Input&lt;/STRONG&gt;&lt;BR /&gt;
You can only select the built in value and not the &lt;STRONG&gt;Global Time&lt;/STRONG&gt; from the &lt;STRONG&gt;Time Input&lt;/STRONG&gt;&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1960iCCC4BFC0651099A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 12:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227377#M14101</guid>
      <dc:creator>lakromani</dc:creator>
      <dc:date>2016-10-01T12:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Time picker is missing from Input (even in 6.5)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227378#M14102</link>
      <description>&lt;P&gt;I tried this in simple XML and the time picker was visible.  Was that what you were looking for?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;dctest3&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;

      &amp;lt;input type="time" token="field1" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Select a Time Period&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-6h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;

      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=main|stats count by host&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;undefined&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;undefined&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 02 Oct 2016 03:41:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227378#M14102</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-10-02T03:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Time picker is missing from Input (even in 6.5)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227379#M14103</link>
      <description>&lt;P&gt;Hi, I updated my post, by modifying your example.  The Host input should not show host outside periode of the Global.Time.  Example works correctly, but you need to use Source Edit to create it.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2016 07:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227379#M14103</guid>
      <dc:creator>lakromani</dc:creator>
      <dc:date>2016-10-02T07:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Time picker is missing from Input (even in 6.5)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227380#M14104</link>
      <description>&lt;P&gt;Yea I'm thinking source edit is going to be the only way you get to what you are looking for.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2016 13:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227380#M14104</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-10-02T13:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Time picker is missing from Input (even in 6.5)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227381#M14105</link>
      <description>&lt;P&gt;This I know, but I am surprised that a function like this has not been added to the GUI. It has been like this for a very long time.  Lets hope 6.6 will resolve it. &lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2016 14:28:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Shared-Time-picker-is-missing-from-Input-even-in-6-5/m-p/227381#M14105</guid>
      <dc:creator>lakromani</dc:creator>
      <dc:date>2016-10-02T14:28:13Z</dc:date>
    </item>
  </channel>
</rss>

