<?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: how to Add a link in dashboard to open other dashboard like drill  down in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-Add-a-link-in-dashboard-to-open-other-dashboard-like/m-p/391775#M25693</link>
    <description>&lt;P&gt;For example if your parent dashboard and target dashboard both have a time picker and a dropdown, then they will both have these elements:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="time" token="time_tok"&amp;gt;
  ...
&amp;lt;input type="dropdown" token="foo"&amp;gt;
  ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the drilldown action of the parent element, you'll need to pass the token values to the target in the url. If it's a table or some visualization like that, it might look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
  &amp;lt;link target="_blank"&amp;gt;/app/&amp;lt;your_app&amp;gt;/&amp;lt;target_dashboard&amp;gt;?form.foo=$foo$&amp;amp;form.time_tok.earliest=$time_tok.earliest$&amp;amp;form.time_tok.latest=$time_tok.latest$&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the token names are different on the target dashboard, you'll need to change the names accordingly. If you want the drilldown to actually come from a link and not a table, you'll have to change the link target to update on token changes. This could be done like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;a href="&amp;lt;url&amp;gt;/target_dashboard?form.foo=$foo$&amp;amp;form.time_tok.earliest=$time_tok.earliest$&amp;amp;form.time_tok.latest=$time_tok.latest$"&amp;gt;Link to target dashboard with filters based on this pages settings&amp;lt;/a&amp;gt;
  &amp;lt;html&amp;gt;
&amp;lt;panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You should refer to &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML"&gt;these docs&lt;/A&gt; for more detail. You are most interested in &lt;CODE&gt;&amp;lt;link&amp;gt;&lt;/CODE&gt; and &lt;CODE&gt;&amp;lt;drilldown&amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Aug 2018 08:59:09 GMT</pubDate>
    <dc:creator>jeffland</dc:creator>
    <dc:date>2018-08-29T08:59:09Z</dc:date>
    <item>
      <title>how to Add a link in dashboard to open other dashboard like drill  down</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-Add-a-link-in-dashboard-to-open-other-dashboard-like/m-p/391774#M25692</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;My requirement is to keep a link in a dashboard , which should open another dashboard or report .The linked dashboard will have a statistical table of data .The data should be based on the filter selection from parent dashboard.&lt;/P&gt;

&lt;P&gt;Please help me out to sort this out.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 07:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-Add-a-link-in-dashboard-to-open-other-dashboard-like/m-p/391774#M25692</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2018-08-03T07:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to Add a link in dashboard to open other dashboard like drill  down</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-Add-a-link-in-dashboard-to-open-other-dashboard-like/m-p/391775#M25693</link>
      <description>&lt;P&gt;For example if your parent dashboard and target dashboard both have a time picker and a dropdown, then they will both have these elements:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="time" token="time_tok"&amp;gt;
  ...
&amp;lt;input type="dropdown" token="foo"&amp;gt;
  ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the drilldown action of the parent element, you'll need to pass the token values to the target in the url. If it's a table or some visualization like that, it might look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
  &amp;lt;link target="_blank"&amp;gt;/app/&amp;lt;your_app&amp;gt;/&amp;lt;target_dashboard&amp;gt;?form.foo=$foo$&amp;amp;form.time_tok.earliest=$time_tok.earliest$&amp;amp;form.time_tok.latest=$time_tok.latest$&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the token names are different on the target dashboard, you'll need to change the names accordingly. If you want the drilldown to actually come from a link and not a table, you'll have to change the link target to update on token changes. This could be done like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;a href="&amp;lt;url&amp;gt;/target_dashboard?form.foo=$foo$&amp;amp;form.time_tok.earliest=$time_tok.earliest$&amp;amp;form.time_tok.latest=$time_tok.latest$"&amp;gt;Link to target dashboard with filters based on this pages settings&amp;lt;/a&amp;gt;
  &amp;lt;html&amp;gt;
&amp;lt;panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You should refer to &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML"&gt;these docs&lt;/A&gt; for more detail. You are most interested in &lt;CODE&gt;&amp;lt;link&amp;gt;&lt;/CODE&gt; and &lt;CODE&gt;&amp;lt;drilldown&amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 08:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-Add-a-link-in-dashboard-to-open-other-dashboard-like/m-p/391775#M25693</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2018-08-29T08:59:09Z</dc:date>
    </item>
  </channel>
</rss>

