Dashboards & Visualizations

Drilldown to 2 different dashboards from one

shreyad
Explorer

How do I drilldown to 2 different dashboards from a singular table (with 2 different values) on a dashboard?

0 Karma

niketn
Legend

@shreyad, have you tried something like the following?

Fill in required details as per your use case:
1) yourSplunkAppName
2) yourSplunkDashboard1 and yourSplunkDashboard2
3) yourDashboard1TokenName and yourDashboard2TokenName etc.
4) Default table drilldown tokens like $click.name$, $click.name1$, $row.$

    <drilldown>
      <link target="_blank">/app/<yourSplunkAppName>/<yourSplunkDashboard1>?form.<yourDashboard1TokenName>=$row.<yourTableFieldNameForSelectedRow>$</link>
      <link target="_blank">/app/<yourSplunkAppName>/<yourSplunkDashboard2>?form.<yourDashboard2TokenName>=$click.name2$</link>
    </drilldown>

Following is a run anywhere example based on Splunk's _internal index which use dropdown link to google and yahoo searches.

<dashboard>
  <label>Drilldown to two dashboards</label>
  <row>
    <panel>
      <table>
        <search>
          <query>index=_internal sourcetype=splunkd log_level!=INFO
| chart count by component log_level</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="count">20</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">cell</option>
        <option name="percentagesRow">false</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
        <drilldown>
          <link target="_blank">https://google.com/search?q=$row.component$</link>
          <link target="_blank">https://search.yahoo.com/search?p=$click.name2$</link>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...