Dashboards & Visualizations

How to drill down to another dashboard when clicking on the title of a panel?

sgarine8925
Engager

View type is in XML

<panel>
      <chart>
        <title>SOA Errors Pattern</title>
        <search>
          <query>host="*abcdefg*h" sourcetype=bss_soa*  "<ERROR>"  AND NOT "<MQSeries"  | timechart count by host</query>
          <earliest>$field1.earliest$</earliest>
          <latest>$field1.latest$</latest>
        </search>
0 Karma

NOUMSSI
Builder

Try this workaround. (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>
0 Karma

somesoni2
Revered Legend

The above html module works for me. Where did you write the HTML tag in your Simple XML?

FYR, this worked for me

<panel>
    <html>            
      <a href="/app/search/seconddashboard"><h3>Top sourcetypes for index=_internal</h3></a>
    </html>
       <chart>
         <title>SOA Errors Pattern</title>
         <search>
           <query>host="*miasoaap*p*" sourcetype=bss_soa*  "<ERROR>"  AND NOT "<MQSeries"  | timechart count by host</query>
           <earliest>$field1.earliest$</earliest>
           <latest>$field1.latest$</latest>
         </search>

This should help as well:

http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/PanelreferenceforSimplifiedXML#Drilldown_eleme...

0 Karma

ppablo
Retired

Hi @somesoni2!

Just fyi, I edited your answer to include what you commented on this duplicate post:
https://answers.splunk.com/answers/401897/how-to-drilldown-on-clicking-panel-title.html

I'll be deleting that one.

Cheers!

Patrick

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...