Dashboards & Visualizations

Is there any option to just link two dashboards without passing any values?

priyansplunk
Engager

Scenario-I have one main Dashboard name-Status,and i have another dashboard with all the details for that status named-Details.

Now if i click the Status Pie chart dashboard it should open my Details dashboard.I am not passing any values.All the search are configured separate in the Details Dashboard.

Let me know the Possibilty. Thanks!

Tags (2)
0 Karma
1 Solution

okrabbe_splunk
Splunk Employee
Splunk Employee

Yes, you don't need to pass a parameter.

For example, in the panel for your pie chart you would do a drilldown and a link

<chart>
 <searchname> foo </searchname>
 <drilldown>
    <link target=_blank>/app/search/dashboardname</link>
  </drilldwon>
</chart>

You can see more information about how you can link here in the simple xml reference -
http://docs.splunk.com/Documentation/Splunk/6.2.2/Viz/PanelreferenceforSimplifiedXML#link

View solution in original post

bjoernjensen
Contributor

What you can do is edit your simple xml and use the set / unset token tags together with depends / rejects attributes of the content tags (table, map, etc.):
http://docs.splunk.com/Documentation/Splunk/latest/Viz/tokens

  <row>
    <panel id="Status">
      <table>
         ...
        <drilldown>
          <set token="some_unused_token">$row.label$</set>
          <unset token="some_other-token"></unset>
        ...

 <row>
    <panel id="Details">
      <table id="some_tab" depends="$some_unused_token$" rejects="$some_other_token$">  
...

okrabbe_splunk
Splunk Employee
Splunk Employee

Yes, you don't need to pass a parameter.

For example, in the panel for your pie chart you would do a drilldown and a link

<chart>
 <searchname> foo </searchname>
 <drilldown>
    <link target=_blank>/app/search/dashboardname</link>
  </drilldwon>
</chart>

You can see more information about how you can link here in the simple xml reference -
http://docs.splunk.com/Documentation/Splunk/6.2.2/Viz/PanelreferenceforSimplifiedXML#link

tnesavich_splun
Splunk Employee
Splunk Employee

Minor but important correction, the above did not work in version 6.5.2 until I quoted the target as per the following.:

 <chart>
  <searchname> foo </searchname>
  <drilldown>
     <link target="_blank">/app/search/dashboardname</link>
   </drilldwon>
 </chart>
0 Karma

priyansplunk
Engager

Thanks a Lot!!..Got the Right syntax from Doc link u shared!.Have a Nice day!

It should be "_blank"

0 Karma

priyansplunk
Engager

Simple and made me as dumb :(...Thanks!!

Is there any way to make that linked dashboard to open in New window or New Tab??..Bcs i want the main dashborad to be in open alwys!

0 Karma

okrabbe_splunk
Splunk Employee
Splunk Employee

Yes, it is just like a standard HTML link.

/app/search/dashboardname
0 Karma

priyansplunk
Engager

_blank is not getting parsed...

0 Karma

priyansplunk
Engager

Yeah got that DashBoard linking.Now i want that second(Linked) dashboard to be opened in New tab of the Browser or New Window of Browser?...Because Now what happening is if i click the main Dashboard,,,second one is opening above that.I want the Main Dashboard to be visible always.

Thanks!

0 Karma

okrabbe_splunk
Splunk Employee
Splunk Employee

ok, that is not showing up correctly in the reply so I will edit the original answer

0 Karma

priyansplunk
Engager

XML is not getting parsed for the below line.

/app/search/dashboardname

0 Karma
Get Updates on the Splunk Community!

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

Industry Solutions for Supply Chain and OT, Amazon Use Cases, Plus More New Articles ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...