<?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: Question Regarding Dashboard Time Range Picker in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-Regarding-Dashboard-Time-Range-Picker/m-p/181308#M11163</link>
    <description>&lt;P&gt;Try this run anywhere example of similar thing.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Threat Dashboard&amp;lt;/label&amp;gt;
  &amp;lt;fieldset autoRun="false" submitButton="true"&amp;gt;
    &amp;lt;input type="dropdown" token="Time"&amp;gt;
    &amp;lt;label&amp;gt;Time Period&amp;lt;/label&amp;gt;
    &amp;lt;choice value="earliest=-30m@m"&amp;gt;30 Minutes&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-60m@m"&amp;gt;1 Hour&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-3h@h"&amp;gt;3 Hours&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-6h@h"&amp;gt;6 Hours&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-1d@d"&amp;gt;1 Day&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-7d@d"&amp;gt;1 Week&amp;lt;/choice&amp;gt;
    &amp;lt;default&amp;gt;1 Hour&amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;title&amp;gt;Investigate Source IP&amp;lt;/title&amp;gt;
      &amp;lt;searchString&amp;gt;
      index = _internal $Time$
       | search *error*  | top 100 sourcetype
      &amp;lt;/searchString&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 May 2014 17:10:47 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-05-28T17:10:47Z</dc:date>
    <item>
      <title>Question Regarding Dashboard Time Range Picker</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-Regarding-Dashboard-Time-Range-Picker/m-p/181307#M11162</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I am having some issues getting a time range picker to work with a dashboard I have set up.  The code I am using for the time range picker is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;input type="dropdown" token="Time"&amp;gt;
    &amp;lt;label&amp;gt;Time Period&amp;lt;/label&amp;gt;
    &amp;lt;choice value="span=30m"&amp;gt;30 Minutes&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="span=1h"&amp;gt;1 Hour&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="span=3h"&amp;gt;3 Hours&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="span=6h"&amp;gt;6 Hours&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="span=1d"&amp;gt;1 Day&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="span=1w"&amp;gt;1 Week&amp;lt;/choice&amp;gt;
    &amp;lt;default&amp;gt;1 Hour&amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And an example of one of my dashboard panels is below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;chart&amp;gt;
  &amp;lt;searchString&amp;gt;index = my_index | search as-xy-1234* OR as-ip-3456* $Time$ searchterm Locations DeviceName $Device$ $Interface$ $Mode$ | top 100 DeviceName&amp;lt;/searchString&amp;gt;
  &amp;lt;title&amp;gt; Device&amp;lt;/title&amp;gt;
  &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
&amp;lt;/chart&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I run the search, no results are returned and Splunk shows the above error message: Your timerange was substituted based on your search string&lt;/P&gt;

&lt;P&gt;I couldn't find any good examples on the Splunkbase where something similar was done and the issue was resolved.  I am sure it is either how I am inputting the token in my search or how I am defining my time buckets.  Any input would be appreciated.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2014 16:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-Regarding-Dashboard-Time-Range-Picker/m-p/181307#M11162</guid>
      <dc:creator>bcarr12</dc:creator>
      <dc:date>2014-05-28T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Question Regarding Dashboard Time Range Picker</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-Regarding-Dashboard-Time-Range-Picker/m-p/181308#M11163</link>
      <description>&lt;P&gt;Try this run anywhere example of similar thing.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Threat Dashboard&amp;lt;/label&amp;gt;
  &amp;lt;fieldset autoRun="false" submitButton="true"&amp;gt;
    &amp;lt;input type="dropdown" token="Time"&amp;gt;
    &amp;lt;label&amp;gt;Time Period&amp;lt;/label&amp;gt;
    &amp;lt;choice value="earliest=-30m@m"&amp;gt;30 Minutes&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-60m@m"&amp;gt;1 Hour&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-3h@h"&amp;gt;3 Hours&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-6h@h"&amp;gt;6 Hours&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-1d@d"&amp;gt;1 Day&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="earliest=-7d@d"&amp;gt;1 Week&amp;lt;/choice&amp;gt;
    &amp;lt;default&amp;gt;1 Hour&amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;title&amp;gt;Investigate Source IP&amp;lt;/title&amp;gt;
      &amp;lt;searchString&amp;gt;
      index = _internal $Time$
       | search *error*  | top 100 sourcetype
      &amp;lt;/searchString&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 May 2014 17:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-Regarding-Dashboard-Time-Range-Picker/m-p/181308#M11163</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-05-28T17:10:47Z</dc:date>
    </item>
  </channel>
</rss>

