<?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 Dashboard not working in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350994#M22867</link>
    <description>&lt;P&gt;Hi &lt;BR /&gt;
I have multiple apps in our environment each app represents ApplicationDomain,  and all of them have lots of dashboards , where we are using a lookup table values  to populate the ApplicationDomain values in the Drop-down.   A few ApplicationDomain Names have a space in between the name. where my dashboard &lt;STRONG&gt;global token $emnv:arpp$&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;AppName : PGR - External Data &lt;BR /&gt;
AppFoldername is : ExternalData &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;RRD Restarts Clone__test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset autoRun="false" submitButton="true"&amp;gt;

    &amp;lt;input type="dropdown" token="domain"&amp;gt;
      &amp;lt;label&amp;gt;Application Domain&amp;lt;/label&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;|inputlookup ApplicationDomain.csv|stats  count by ApplicationDomain |sort +ApplicationDomain&amp;lt;/query&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;/search&amp;gt;
      &amp;lt;fieldForValue&amp;gt;ApplicationDomain&amp;lt;/fieldForValue&amp;gt;
      **&amp;lt;choice value="$env:anpp$"&amp;gt;default&amp;lt;/choice&amp;gt;**
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can i work this code for the ApplicationDomain name has space?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2017 20:55:53 GMT</pubDate>
    <dc:creator>svemurilv</dc:creator>
    <dc:date>2017-04-26T20:55:53Z</dc:date>
    <item>
      <title>Dashboard not working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350994#M22867</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;
I have multiple apps in our environment each app represents ApplicationDomain,  and all of them have lots of dashboards , where we are using a lookup table values  to populate the ApplicationDomain values in the Drop-down.   A few ApplicationDomain Names have a space in between the name. where my dashboard &lt;STRONG&gt;global token $emnv:arpp$&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;AppName : PGR - External Data &lt;BR /&gt;
AppFoldername is : ExternalData &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;RRD Restarts Clone__test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset autoRun="false" submitButton="true"&amp;gt;

    &amp;lt;input type="dropdown" token="domain"&amp;gt;
      &amp;lt;label&amp;gt;Application Domain&amp;lt;/label&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;|inputlookup ApplicationDomain.csv|stats  count by ApplicationDomain |sort +ApplicationDomain&amp;lt;/query&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;/search&amp;gt;
      &amp;lt;fieldForValue&amp;gt;ApplicationDomain&amp;lt;/fieldForValue&amp;gt;
      **&amp;lt;choice value="$env:anpp$"&amp;gt;default&amp;lt;/choice&amp;gt;**
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can i work this code for the ApplicationDomain name has space?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 20:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350994#M22867</guid>
      <dc:creator>svemurilv</dc:creator>
      <dc:date>2017-04-26T20:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard not working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350995#M22868</link>
      <description>&lt;P&gt;The &lt;CODE&gt;value&lt;/CODE&gt; parameter should have exact same values as it appear in lookup table. The global token will give you folder name, not the display name. The lookup also seem to have additional prefix. Where and how is your &lt;CODE&gt;domain&lt;/CODE&gt; token is being used?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 21:07:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350995#M22868</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-26T21:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard not working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350996#M22869</link>
      <description>&lt;P&gt;am using this Application Domain in my entire Dashboard searches &lt;BR /&gt;
how can i use this        i dont know how we can use this to get the app name may app are looking like &lt;CODE&gt;BEP:Application Name&lt;/CODE&gt;  and  in my lookup table Application Domain was like &lt;CODE&gt;Application Name&lt;/CODE&gt;  and app dir name was ApplicationName &lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 21:33:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350996#M22869</guid>
      <dc:creator>svemurilv</dc:creator>
      <dc:date>2017-04-26T21:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard not working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350997#M22870</link>
      <description>&lt;P&gt;Try this for your dropdown&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="dropdown" token="domain"&amp;gt;
       &amp;lt;label&amp;gt;Application Domain&amp;lt;/label&amp;gt;
       &amp;lt;search&amp;gt;
         &amp;lt;query&amp;gt;|inputlookup ApplicationDomain.csv|stats  count by ApplicationDomain | eval rank=if(match(replace(ApplicationDomain," ",""),"$env:app$"),1,0)|sort -rank +ApplicationDomain | fields - rank&amp;lt;/query&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;/search&amp;gt;
       &amp;lt;fieldForValue&amp;gt;ApplicationDomain&amp;lt;/fieldForValue&amp;gt;
       &amp;lt;selectFirstChoice&amp;gt;true&amp;lt;/selectFirstChoice&amp;gt;
     &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Basically comparing the global token value with ApplicationDomain field with space removed (just for comparision, original value unchanged) and whever matched with place in first place in the dropdown (sort logic using rank). Then configuring dropdown to select the first value by default using &lt;CODE&gt;&amp;lt;selectFirstChoice&amp;gt;&lt;/CODE&gt; option.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 21:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350997#M22870</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-26T21:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard not working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350998#M22871</link>
      <description>&lt;P&gt;&lt;IMG src="https://splunk-usergroups.slack.com/files/vemchow/F551EJ3FS/capture122.jpg" alt="alt text" /&gt;Hi somesh,&lt;BR /&gt;
   its sorting by rank but still the default value not displaying with space. &lt;BR /&gt;
my original lookup file and application Domain value indexed with space. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunk-usergroups.slack.com/files/vemchow/F551EJ3FS/capture122.jpg"&gt;https://splunk-usergroups.slack.com/files/vemchow/F551EJ3FS/capture122.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 19:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350998#M22871</guid>
      <dc:creator>svemurilv</dc:creator>
      <dc:date>2017-04-27T19:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard not working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350999#M22872</link>
      <description>&lt;P&gt;Hi sorry somesh,&lt;BR /&gt;
 My browser cookies spam, its working after changing the browser &lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 20:39:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/350999#M22872</guid>
      <dc:creator>svemurilv</dc:creator>
      <dc:date>2017-04-27T20:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard not working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/351000#M22873</link>
      <description>&lt;P&gt;Glad it worked out for you. Don't forget to close the question in case there is no follow-up question related to this.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 20:47:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-not-working/m-p/351000#M22873</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-27T20:47:09Z</dc:date>
    </item>
  </channel>
</rss>

