<?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 Dropdown missing something in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87280#M4764</link>
    <description>&lt;P&gt;I have a drop down that will let a user select a host in order to view the cpu usage for a particluar time frame, however the search isn't working.  I'm poking and proding but can't quite determine what I'm missing.&lt;/P&gt;

&lt;P&gt;Here is my config - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;searchTemplate&amp;gt; host=%Server% counter="% Processor Time" | timechart avg(Value) by host&amp;lt;/searchTemplate&amp;gt;

  &amp;lt;input type="dropdown" token="Server"&amp;gt;
    &amp;lt;choice value="*"&amp;gt;Any&amp;lt;/choice&amp;gt;
       &amp;lt;populatingSearch fieldForValue="host" fieldForLabel="host"&amp;gt;
        &amp;lt;![CDATA[host=%Server% counter="% Processor Time" | timechart avg(Value) by host]]&amp;gt;
       &amp;lt;/populatingSearch&amp;gt;
&amp;lt;/input&amp;gt;
  &amp;lt;input type="time"/&amp;gt;
  &amp;lt;default&amp;gt;Last 24hrs&amp;lt;/default&amp;gt;  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The only value that shows up in the dropdown in the word "Any"&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2012 02:23:19 GMT</pubDate>
    <dc:creator>mlevenson</dc:creator>
    <dc:date>2012-03-08T02:23:19Z</dc:date>
    <item>
      <title>Dropdown missing something</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87280#M4764</link>
      <description>&lt;P&gt;I have a drop down that will let a user select a host in order to view the cpu usage for a particluar time frame, however the search isn't working.  I'm poking and proding but can't quite determine what I'm missing.&lt;/P&gt;

&lt;P&gt;Here is my config - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;searchTemplate&amp;gt; host=%Server% counter="% Processor Time" | timechart avg(Value) by host&amp;lt;/searchTemplate&amp;gt;

  &amp;lt;input type="dropdown" token="Server"&amp;gt;
    &amp;lt;choice value="*"&amp;gt;Any&amp;lt;/choice&amp;gt;
       &amp;lt;populatingSearch fieldForValue="host" fieldForLabel="host"&amp;gt;
        &amp;lt;![CDATA[host=%Server% counter="% Processor Time" | timechart avg(Value) by host]]&amp;gt;
       &amp;lt;/populatingSearch&amp;gt;
&amp;lt;/input&amp;gt;
  &amp;lt;input type="time"/&amp;gt;
  &amp;lt;default&amp;gt;Last 24hrs&amp;lt;/default&amp;gt;  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The only value that shows up in the dropdown in the word "Any"&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2012 02:23:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87280#M4764</guid>
      <dc:creator>mlevenson</dc:creator>
      <dc:date>2012-03-08T02:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown missing something</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87281#M4765</link>
      <description>&lt;P&gt;Why are you using the % character in your populatingSearch? Variable names are referred to by enclosing them in $ characters.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2012 06:28:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87281#M4765</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-03-08T06:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown missing something</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87282#M4766</link>
      <description>&lt;P&gt;That search output does not generate host feild. Check the output of the search. Try " stats count by host" and see if you can see a list of host in the dropdown.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2012 06:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87282#M4766</guid>
      <dc:creator>Masa</dc:creator>
      <dc:date>2012-03-08T06:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown missing something</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87283#M4767</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;searchTemplate&amp;gt;host=$host$ counter="% Processor Time" | timechart avg(Value) by host&amp;lt;/searchTemplate&amp;gt;

    &amp;lt;input type="dropdown" token="host" &amp;gt;
    &amp;lt;label&amp;gt;Select Server&amp;lt;/label&amp;gt;
    &amp;lt;choice value="*"&amp;gt;Any&amp;lt;/choice&amp;gt;
       &amp;lt;populatingSearch fieldForValue="host" fieldForLabel="host"&amp;gt;
        &amp;lt;![CDATA[ counter="% Processor Time" | stats count by host]]&amp;gt;
       &amp;lt;/populatingSearch&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This ended up working, however it seems the populaing of the dropdown seems to take a while.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2012 16:47:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87283#M4767</guid>
      <dc:creator>mlevenson</dc:creator>
      <dc:date>2012-03-08T16:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown missing something</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87284#M4768</link>
      <description>&lt;P&gt;Can you limit the time range for the search?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2012 18:15:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87284#M4768</guid>
      <dc:creator>Masa</dc:creator>
      <dc:date>2012-03-08T18:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown missing something</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87285#M4769</link>
      <description>&lt;P&gt;I use the input type="time" to control what the search range is.  Is that what  you are refering to?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2012 18:21:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87285#M4769</guid>
      <dc:creator>mlevenson</dc:creator>
      <dc:date>2012-03-08T18:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown missing something</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87286#M4770</link>
      <description>&lt;P&gt;earliest=-60m for "60 minutes ago" &lt;BR /&gt;&lt;BR /&gt;
( &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SearchTimeModifiers"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SearchTimeModifiers&lt;/A&gt; )&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 07:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-missing-something/m-p/87286#M4770</guid>
      <dc:creator>Masa</dc:creator>
      <dc:date>2012-03-09T07:38:07Z</dc:date>
    </item>
  </channel>
</rss>

