Dashboards & Visualizations

How to drill down to another dashboard by clicking on the title in a panel?

sidekix24
Path Finder

One the screen shot attached, I'm able to use drilldown to click on the value in Red and it takes me to another dashboard I created. Is it possible to make the title of the panel a hyperlink to that dashboard instead?

alt text

0 Karma
1 Solution

somesoni2
Revered Legend

I don't think there is a native way to create a drilldown from the panel title, but you can try this workaround where you create the title using a html and add redirection. (run anywhere sample, replace /app/search/seconddashboard with your app/dashboard name where you want to drilldown)

<dashboard >
  <label>Eval Tokens</label>
  <row>
    <panel>
      <html>            
        <a href="/app/search/seconddashboard"><h3>Top sourcetypes for index=_internal</h3></a>
      </html>
      <chart>            
        <search>
          <query>index=_internal |  top sourcetype</query>
          <earliest>-2h</earliest>
          <latest>now</latest>              
        </search>
        <option name="charting.chart">bar</option>
      </chart>
     </panel>
  </row>
</dashboard>

View solution in original post

somesoni2
Revered Legend

I don't think there is a native way to create a drilldown from the panel title, but you can try this workaround where you create the title using a html and add redirection. (run anywhere sample, replace /app/search/seconddashboard with your app/dashboard name where you want to drilldown)

<dashboard >
  <label>Eval Tokens</label>
  <row>
    <panel>
      <html>            
        <a href="/app/search/seconddashboard"><h3>Top sourcetypes for index=_internal</h3></a>
      </html>
      <chart>            
        <search>
          <query>index=_internal |  top sourcetype</query>
          <earliest>-2h</earliest>
          <latest>now</latest>              
        </search>
        <option name="charting.chart">bar</option>
      </chart>
     </panel>
  </row>
</dashboard>

welderbuilder
Explorer

Would you know how to set or unset tokens after clicking the title?

0 Karma

sidekix24
Path Finder

Thanks somesoni2!!!! I think that work around might have done the trick

0 Karma

mreynov_splunk
Splunk Employee
Splunk Employee

the exact answer will differ depending on what you are using simple XML or HTML for your dashboard. What you will need is a custom piece of javascript.
In the meantime, here is some info on drilldowns in Splunk: http://dev.splunk.com/view/webframework-developapps/SP-CAAAESJ

0 Karma

sidekix24
Path Finder

I'm using a simple XML dashboard

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...