<?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: Classic Dashboard HTML Link with Tokens in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742221#M58453</link>
    <description>&lt;P&gt;Please provide more information - what do you mean by "not working"? What does the rest of your dashboard look like? What does your target dashboard look like?&lt;/P&gt;&lt;P&gt;I have not been able to reproduce the issue from the limited information you have provided, however, I have created a dashboard with tokens making up a link in an HTML panel which does work.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 15:02:12 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2025-03-19T15:02:12Z</dc:date>
    <item>
      <title>Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742213#M58451</link>
      <description>&lt;P&gt;I have a Classic Dashboard where I have an HTML panel. I am trying to link to another dashboard with tokens that the user can select via multiselects. However, it isn't working. This is my HTML panel:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;row&amp;gt;
	&amp;lt;panel&amp;gt;
		&amp;lt;html&amp;gt;&amp;lt;div&amp;gt;
		&amp;lt;a target="_blank" href=/app/app/operating_system?form.case_token=$case_token$&amp;amp;amp;form.host_name=$host_name$"&amp;gt;Operating System Artifacts&amp;lt;/a&amp;gt;
		&amp;lt;/div&amp;gt;&amp;lt;/html&amp;gt;
	&amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742213#M58451</guid>
      <dc:creator>lcguilfoil</dc:creator>
      <dc:date>2025-03-19T14:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742214#M58452</link>
      <description>&lt;P&gt;I made a typo in my post, so here is the actual version. Thank you in advance for your help!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;row&amp;gt;
	&amp;lt;panel&amp;gt;
		&amp;lt;html&amp;gt;&amp;lt;div&amp;gt;
		&amp;lt;a target="_blank" href="/app/app/operating_system?form.case_token=$case_token$&amp;amp;amp;form.host_name=$host_name$"&amp;gt;Operating System Artifacts&amp;lt;/a&amp;gt;
		&amp;lt;/div&amp;gt;&amp;lt;/html&amp;gt;
	&amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742214#M58452</guid>
      <dc:creator>lcguilfoil</dc:creator>
      <dc:date>2025-03-19T14:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742221#M58453</link>
      <description>&lt;P&gt;Please provide more information - what do you mean by "not working"? What does the rest of your dashboard look like? What does your target dashboard look like?&lt;/P&gt;&lt;P&gt;I have not been able to reproduce the issue from the limited information you have provided, however, I have created a dashboard with tokens making up a link in an HTML panel which does work.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 15:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742221#M58453</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-03-19T15:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742223#M58454</link>
      <description>&lt;P&gt;Here is the initial dashboard:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form version="1.1" theme="dark"&amp;gt;
  &amp;lt;label&amp;gt;Case Overview&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false" autoRun="true"&amp;gt;
    &amp;lt;input type="dropdown" token="case_token" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Case Selector&amp;lt;/label&amp;gt;
      &amp;lt;prefix&amp;gt;index=virtuoso_&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;*&amp;lt;/suffix&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;case&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;case&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| tstats count where index=index_* by index 
| rex field=index "\_(?&amp;amp;lt;case&amp;amp;gt;.*?)\_" 
| dedup case 
| table case&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="time" token="global_time"&amp;gt;
      &amp;lt;label&amp;gt;Global Time Range&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="host_token" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Host&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;host&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;host&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| tstats count where $case_token$ by host
| table host&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;&amp;lt;div&amp;gt;
        &amp;lt;a target="_blank" href="/app/app/operating_system_artifacts?case_token=$case_token$&amp;amp;amp;host_name=$host_name$"&amp;gt;&amp;amp;lt;h1&amp;amp;gt;Operating System Artifacts&amp;amp;lt;/h1&amp;amp;gt;&amp;lt;/a&amp;gt;
      &amp;lt;/div&amp;gt;&amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Here is the connecting dashboard:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1" theme="dark"&amp;gt;
  &amp;lt;label&amp;gt;Operating System Artifacts&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html encoded="1"&amp;gt;&amp;amp;lt;h1&amp;amp;gt;Prefetch&amp;amp;lt;/h1&amp;amp;gt;&amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Prefetch Files&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;$case_token$ host=$host_token$
| table ApplicationPath, LastRun, TimesRan&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$global_time.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$global_time.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;format type="color" field="ApplicationPath"&amp;gt;
          &amp;lt;colorPalette type="sharedList"&amp;gt;&amp;lt;/colorPalette&amp;gt;
          &amp;lt;scale type="sharedCategory"&amp;gt;&amp;lt;/scale&amp;gt;
        &amp;lt;/format&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Mar 2025 15:19:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742223#M58454</guid>
      <dc:creator>lcguilfoil</dc:creator>
      <dc:date>2025-03-19T15:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742225#M58455</link>
      <description>&lt;P&gt;It brings me to the next dashboard, but the tokens aren't set.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 15:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742225#M58455</guid>
      <dc:creator>lcguilfoil</dc:creator>
      <dc:date>2025-03-19T15:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742233#M58456</link>
      <description>&lt;P&gt;You can't set tokens like this, they should be tokens from an input. Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;a target="_blank" href="/app/app/operating_system_artifacts?form.case_token=$case_token$&amp;amp;amp;form.host_name=$host_name$"&amp;gt;&amp;amp;lt;h1&amp;amp;gt;Operating System Artifacts&amp;amp;lt;/h1&amp;amp;gt;&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;And convert your target dashboard to a form and add a couple of hidden text inputs&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;input type="text" token="case_token" depends="$alwaysHide$"&amp;gt;&amp;lt;/input&amp;gt;
      &amp;lt;input type="text" token="host_name" depends="$alwaysHide$"&amp;gt;&amp;lt;/input&amp;gt;
      &amp;lt;html encoded="1"&amp;gt;&amp;amp;lt;h1&amp;amp;gt;Prefetch&amp;amp;lt;/h1&amp;amp;gt;&amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Mar 2025 16:02:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742233#M58456</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-03-19T16:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742237#M58457</link>
      <description>&lt;P&gt;I did this, but it still doesn't work. When I click on the link, this is the URL that flashes:&lt;/P&gt;&lt;P&gt;/apps/apps/operating_system_artifacts?form.case_token=index=index_burns*&amp;amp;form.host_name=$host_name$&lt;/P&gt;&lt;P&gt;Then, immediately after, it changes to:&lt;/P&gt;&lt;P&gt;/apps/apps/operating_system_artifacts?form.case_token=index&amp;amp;form.host_name=%24host_name%24&lt;/P&gt;&lt;P&gt;Do you think the issue could be how the multi-select token works?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 16:11:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742237#M58457</guid>
      <dc:creator>lcguilfoil</dc:creator>
      <dc:date>2025-03-19T16:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742242#M58458</link>
      <description>&lt;P&gt;You aren't using multi-selects, you are using dropdowns, these are different types of inputs. Anyway, that probably isn't your issue. Try encoding the tokens for use in an URL (with the |u modifier)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;a target="_blank" href="/app/app/operating_system_artifacts?case_token=$case_token|u$&amp;amp;amp;host_name=$host_name|u$"&amp;gt;&amp;amp;lt;h1&amp;amp;gt;Operating System Artifacts&amp;amp;lt;/h1&amp;amp;gt;&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 16:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742242#M58458</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-03-19T16:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742246#M58459</link>
      <description>&lt;P&gt;Perfect, that worked for the URL and setting the tokens. However, the search on the second dashboard (operating system), still says "Search is waiting for input..."&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 16:31:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742246#M58459</guid>
      <dc:creator>lcguilfoil</dc:creator>
      <dc:date>2025-03-19T16:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard HTML Link with Tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742256#M58460</link>
      <description>&lt;P&gt;Your second dashboard doesn't have a global_time input - probably waiting for that to be set?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 18:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Classic-Dashboard-HTML-Link-with-Tokens/m-p/742256#M58460</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-03-19T18:15:01Z</dc:date>
    </item>
  </channel>
</rss>

