<?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: Drilldown from lookup populated dropdown in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381715#M111633</link>
    <description>&lt;P&gt;Hi @richkappler&lt;/P&gt;

&lt;P&gt;Please check this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;navigation&amp;lt;/label&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="group_tok" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Bot Category&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;group&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;group&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition label="group"&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;
            &amp;lt;![CDATA[/app/search/seconddashboard?form.param=$group_tok$]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
      &amp;lt;choice value="group"&amp;gt;group&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;

&amp;lt;/form&amp;gt;


Second dashboard:
&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;seconddashboard&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="text" token="param"&amp;gt;
      &amp;lt;label&amp;gt;Dropdown Value&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 13 Feb 2019 16:03:57 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2019-02-13T16:03:57Z</dc:date>
    <item>
      <title>Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381714#M111632</link>
      <description>&lt;P&gt;I have a dashboard dropdown that I'm populating with "groups" from a lookup "group_ip_host". The idea is to have the user choose a group that takes the user, carrying the $group_tok$, to another dashboard  that is generic to any group and does stuff based on the value of $group_tok$. &lt;/P&gt;

&lt;P&gt;The dropdown is populating. I can see $group_tok$ being populated in the URL bar (notenoughkarmatopostalink/rpa_clone?form.group_tok=HR). I have verified that the "drilldown" dashboard is available and works given a $group_tok$, but making the selection on the top level dash doesn't take you to the drilldown. Here's my fieldset, what am I missing?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="group_tok" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Bot Category&amp;lt;/label&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;
          | inputlookup group_ip_host
          | dedup group
          | table group
        &amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;group&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;group&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition label="group"&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;
            &amp;lt;![CDATA[/app/XXXXX/drilldown1?group=$group_tok$]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381714#M111632</guid>
      <dc:creator>richkappler</dc:creator>
      <dc:date>2020-09-29T23:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381715#M111633</link>
      <description>&lt;P&gt;Hi @richkappler&lt;/P&gt;

&lt;P&gt;Please check this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;navigation&amp;lt;/label&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="group_tok" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Bot Category&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;group&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;group&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition label="group"&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;
            &amp;lt;![CDATA[/app/search/seconddashboard?form.param=$group_tok$]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
      &amp;lt;choice value="group"&amp;gt;group&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;

&amp;lt;/form&amp;gt;


Second dashboard:
&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;seconddashboard&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="text" token="param"&amp;gt;
      &amp;lt;label&amp;gt;Dropdown Value&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 16:03:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381715#M111633</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-13T16:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381716#M111634</link>
      <description>&lt;P&gt;I see and understand the changes that you suggested, though I'm confused as to why there are 2 forms on one page, am I missing something?&lt;/P&gt;

&lt;P&gt;Regardless, this did not work. the group only added, as one would expect, a choice of "group" to the dropdown, which I do not want.&lt;/P&gt;

&lt;P&gt;The search is not in your code, so there is nothing to populate the dropdown with except the above-mentioned "group"&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 16:30:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381716#M111634</guid>
      <dc:creator>richkappler</dc:creator>
      <dc:date>2019-02-13T16:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381717#M111635</link>
      <description>&lt;P&gt;Updated above, the second form is another dashboard. I had created under the search app. For sample purpose, I had added only one value to dropdown as group.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 16:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381717#M111635</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-13T16:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381718#M111636</link>
      <description>&lt;P&gt;This did not work. I've built literally dozens of drilldowns to dashboards that read an pass tokens, this is the first time I have populated the dropdown with a lookup, I don't know if that's relevant. It would appear that the $group_tok$ that is being generated by making a choice from the dropdown is not being passed to the  stanza. Can't figure out why. If I hard code it, it works, even passing tokens from the dropdown to  and from one dash to another.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 18:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381718#M111636</guid>
      <dc:creator>richkappler</dc:creator>
      <dc:date>2019-02-13T18:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381719#M111637</link>
      <description>&lt;P&gt;missing from above: for some reason the xml phrase I put in did not publish, should have read -&amp;gt; "making a choice from the dropdown is not beingpassed to the change stanza" and "passing tokens from the dropdown to change and from one dash to another."&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 18:37:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381719#M111637</guid>
      <dc:creator>richkappler</dc:creator>
      <dc:date>2019-02-13T18:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381720#M111638</link>
      <description>&lt;P&gt;Try with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;change&amp;gt;
         &amp;lt;condition&amp;gt;
           &amp;lt;link target="_blank"&amp;gt;
             &amp;lt;![CDATA[/app/XXXXX/drilldown1?group=$group_tok$]]&amp;gt;
           &amp;lt;/link&amp;gt;
         &amp;lt;/condition&amp;gt;
       &amp;lt;/change&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 18:47:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381720#M111638</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-13T18:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381721#M111639</link>
      <description>&lt;P&gt;Further information: @vnravikumar - running your code as written does indeed work as a standalone, however, when I add in the search to populate the lookup instead of hardcoding choice, it does not work. Here are the 2 pieces of xml:&lt;BR /&gt;
This works:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;form&amp;gt;
       &amp;lt;label&amp;gt;navigation&amp;lt;/label&amp;gt;
       &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
         &amp;lt;input type="dropdown" token="group_tok" searchWhenChanged="true"&amp;gt;
           &amp;lt;label&amp;gt;Bot Category&amp;lt;/label&amp;gt;
          &amp;lt;fieldForLabel&amp;gt;group&amp;lt;/fieldForLabel&amp;gt;
          &amp;lt;fieldForValue&amp;gt;group&amp;lt;/fieldForValue&amp;gt;
           &amp;lt;change&amp;gt;
             &amp;lt;condition label="group"&amp;gt;
               &amp;lt;link target="_blank"&amp;gt;
                 drilldown1?form.param=$group_tok$
               &amp;lt;/link&amp;gt;
             &amp;lt;/condition&amp;gt;
           &amp;lt;/change&amp;gt;
           &amp;lt;choice value="group"&amp;gt;group&amp;lt;/choice&amp;gt;
         &amp;lt;/input&amp;gt;
       &amp;lt;/fieldset&amp;gt;
    &amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This does NOT work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        &amp;lt;form&amp;gt;
           &amp;lt;label&amp;gt;navigation&amp;lt;/label&amp;gt;
           &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
             &amp;lt;input type="dropdown" token="group_tok" searchWhenChanged="true"&amp;gt;
              &amp;lt;label&amp;gt;Bot Category&amp;lt;/label&amp;gt;
              &amp;lt;!-- Dynamic definition of choices --&amp;gt;
              &amp;lt;search&amp;gt;
                &amp;lt;query&amp;gt;
                  | inputlookup group_ip_host
                  | dedup group
                  | table group
                &amp;lt;/query&amp;gt;
              &amp;lt;/search&amp;gt;
              &amp;lt;fieldForLabel&amp;gt;group&amp;lt;/fieldForLabel&amp;gt;
              &amp;lt;fieldForValue&amp;gt;group&amp;lt;/fieldForValue&amp;gt;
               &amp;lt;change&amp;gt;
                 &amp;lt;condition label="group"&amp;gt;
                   &amp;lt;link target="_blank"&amp;gt;
                     drilldown1?form.param=$group_tok$
                   &amp;lt;/link&amp;gt;
                 &amp;lt;/condition&amp;gt;
               &amp;lt;/change&amp;gt;
             &amp;lt;/input&amp;gt;
           &amp;lt;/fieldset&amp;gt;
        &amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will please note that the only difference is choice is removed and the search is added. As before, I can see, in the url bar, that the $group_tok$ is picking up the dropdown selection, but the new tab is not opening. The search is not providing a choice to the change stanza.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 18:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381721#M111639</guid>
      <dc:creator>richkappler</dc:creator>
      <dc:date>2019-02-13T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381722#M111640</link>
      <description>&lt;P&gt;Try with condition like above and let me know.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 18:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381722#M111640</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-13T18:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381723#M111641</link>
      <description>&lt;P&gt;Remove label="group" in condition tag&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 19:04:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381723#M111641</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-13T19:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381724#M111642</link>
      <description>&lt;P&gt;No, that was the original non-working code I posted. Tried again just to be sure, makes no difference. I had verified the functionality  of not using CDATA before I posted it.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 19:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381724#M111642</guid>
      <dc:creator>richkappler</dc:creator>
      <dc:date>2019-02-13T19:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown from lookup populated dropdown</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381725#M111643</link>
      <description>&lt;P&gt;Winner Winner Chicken Dinner, that did the trick, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 19:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-from-lookup-populated-dropdown/m-p/381725#M111643</guid>
      <dc:creator>richkappler</dc:creator>
      <dc:date>2019-02-13T19:10:14Z</dc:date>
    </item>
  </channel>
</rss>

