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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...