<?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: Dashboard Studio Dropdown: Set multiple tokens or set single token but display different values in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/743819#M58566</link>
    <description>&lt;P&gt;Thanks for the feedback.&amp;nbsp; I was able to make this work in simple XML with what you provided.&amp;nbsp; As I started learning Splunk, I have been working solely with Dashboard Studio but quickly realized some of the queries I am wanted to run only run in simple XML.&amp;nbsp; Again, appreciate the assistance.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 17:50:01 GMT</pubDate>
    <dc:creator>ramuzzini</dc:creator>
    <dc:date>2025-04-08T17:50:01Z</dc:date>
    <item>
      <title>Dashboard Studio Dropdown: Set multiple tokens or set single token but display different values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/708451#M57974</link>
      <description>&lt;P&gt;Working on a dashboard in dashboard studio to display data in two different tables using a single dropdown.&amp;nbsp; Issue I have is that all my data is determined by the "username" field but want to have dropdown display user Lastname, Firstname for better visibility.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First table pulls records from a lookup table with user demographics and such.&amp;nbsp; Second table is pulling respective window log data tracking various user activity.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In my dropdown, I am currently using the lookup table and eval function to join both "user_last", "user_first" set variable to "fullname" and display User "Lastname, Firstname".&amp;nbsp; &amp;nbsp;I then used "fullname" as the pass-on token for my first table.&amp;nbsp; &amp;nbsp;However, my second table, I need the "username" as the token because the data I am querying only has the "username" in the logs and not the users first or last name as my first table.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My question is can I set my dropdown to display "user_last, user_first" names but set the token value as "username" or can I assign multiple tokens in a SPL query in Dashboard Studio to use in the respective tables or can I do both for sake of knowledge.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here is what I am working with and appreciate any assistance with this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Lookup table:&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Name:&amp;nbsp; &amp;nbsp; system_users.csv&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Fields:&amp;nbsp; &amp;nbsp; username,&amp;nbsp; &amp;nbsp; name_last,&amp;nbsp; &amp;nbsp; &amp;nbsp;name_first....&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dashboard Dropdown Field Values:&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;Data Source Name:&amp;nbsp; &amp;nbsp; lookup_users&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SPL Query:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup bpn_system_users.csv
    | eval fullname= name_last.", ".name_first
    | table fullname
    | sort fullname&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Source Code:&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; {
      "type": "ds.search",
      "options": {
          "queryParameters": {
              "earliest": "$SearchTimeLine.earliest$",
              "latest": "$SearchTimeLine.latest$"
            },
          "query": " | inputlookup system_users.csv\n
                              | eval fullname= name_last.\", \".name_first\n
                              | table fullname\n
                              | sort fullname"
        },
      "name": "lookup_users"
   }&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 22:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/708451#M57974</guid>
      <dc:creator>ramuzzini</dc:creator>
      <dc:date>2025-01-10T22:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio Dropdown: Set multiple tokens or set single token but display different values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/709551#M58022</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260507"&gt;@ramuzzini&lt;/a&gt;- I'm not sure if it is feasible with Dashboard Studio. But it is possible to do with regular Splunk Simple XML (Classic) dashboard.&lt;/P&gt;&lt;P&gt;In Simple XML dashboard you can use &amp;lt;change&amp;gt; effect and use $value$ for username &amp;amp; $label$ to get full username.&lt;/P&gt;&lt;P&gt;Here is the reference which is similar to what you are looking for but in Simple XML dashboard - &lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-two-tokens-off-one-dropdown-in-dashboard/m-p/408734" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-two-tokens-off-one-dropdown-in-dashboard/m-p/408734&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(Please take some time to review this and learn, I know if you don't have much experience with Simple XML Dashboard then it may take some time to understand it.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!! Kindly upvote if it does!!!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 06:06:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/709551#M58022</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2025-01-23T06:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio Dropdown: Set multiple tokens or set single token but display different values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/743819#M58566</link>
      <description>&lt;P&gt;Thanks for the feedback.&amp;nbsp; I was able to make this work in simple XML with what you provided.&amp;nbsp; As I started learning Splunk, I have been working solely with Dashboard Studio but quickly realized some of the queries I am wanted to run only run in simple XML.&amp;nbsp; Again, appreciate the assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 17:50:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/743819#M58566</guid>
      <dc:creator>ramuzzini</dc:creator>
      <dc:date>2025-04-08T17:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio Dropdown: Set multiple tokens or set single token but display different values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/743934#M58569</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260507"&gt;@ramuzzini&lt;/a&gt;- Glad to hear that you are able to resolve the issue. Please kindly click on my answer with "Accept as Solution" so that future Splunk users can get benefited from it as they see it solution that worked for you.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 08:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/743934#M58569</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2025-04-10T08:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio Dropdown: Set multiple tokens or set single token but display different values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/746490#M58730</link>
      <description>&lt;P&gt;Is this still unfeasible with the Studio mode? There are many usecases where we need to reset multiple dropdowns based on a specific dropdown (e.g. if country is changed, we should not have the city stay the same as it no longer belongs to the selected country, etc.)&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 17:01:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-Dropdown-Set-multiple-tokens-or-set-single/m-p/746490#M58730</guid>
      <dc:creator>zahid</dc:creator>
      <dc:date>2025-05-19T17:01:20Z</dc:date>
    </item>
  </channel>
</rss>

