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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...