Dashboards & Visualizations

How to create set of dashboards within a dashboard?

haripriyasarvep
Explorer

I need to create a dashboard with list of all other dashboard names and when I click a dashboard name it has to display that dashboard in the same dashboard but not in the different page,Please help me out.

Labels (1)
Tags (1)
0 Karma
1 Solution

Lucas_K
Motivator

How about buttons and iframes?

Change "my_dashboard" to whatever the name of the dashboard is.
Create as many buttons as you want just reference the same iframe as the target.

<dashboard>
  <label>test clone</label>
  <row>
    <panel>
      <html>
               <style>.btn-primary { margin: 5px 10px 5px 0; }</style>
               <a target="my_link" href="my_dashboard?hideEdit=true&amp;hideTitle=true&amp;hideSplunkBar=true&amp;hideAppBar=true&amp;hideFooter=true&amp;targetTop=true" class="btn btn-primary">My dashboard 1</a>
           </html>
    </panel>
  </row>
  <row>
    <panel>
      <html>
       <iframe name="my_link" width="100%" height="1000" frameborder="0" allowfullscreen="0"> </iframe>  
     </html>
    </panel>
  </row>
</dashboard>

View solution in original post

deepakgarg1373
Loves-to-Learn Lots

it opens the dashboard in another tab, can we open it in the same dashboard instead?

0 Karma

atammana_splunk
Splunk Employee
Splunk Employee

Hi @haripriyasarvepalli1 , you can also check out the Splunk Dashboards Beta which allows you to create pixel perfect dashboards, including an "overview" dashboard that links to other dashboards. See here for an example of an dashboard "hub" home page here: https://covid-19.splunkforgood.com/dashboard_hub

You can download the app here: https://splunkbase.splunk.com/app/4710/

0 Karma

VijaySrrie
Builder

Hi,

May I know where to place the above query? Do we need to write this query inside a Search Head?

0 Karma

haripriyasarvep
Explorer

Thank you so much for providing this answer. It helped me a lot in finishing up my dashboard. Instead of buttons I used input linked list button to embed various dashboard in to one.

0 Karma

haripriyasarvep
Explorer

This is working fine with one dashboard , but for more than 2 dashboards, how to set tokens to the show that specific dashboards. Please help me out.

0 Karma

Lucas_K
Motivator

How about buttons and iframes?

Change "my_dashboard" to whatever the name of the dashboard is.
Create as many buttons as you want just reference the same iframe as the target.

<dashboard>
  <label>test clone</label>
  <row>
    <panel>
      <html>
               <style>.btn-primary { margin: 5px 10px 5px 0; }</style>
               <a target="my_link" href="my_dashboard?hideEdit=true&amp;hideTitle=true&amp;hideSplunkBar=true&amp;hideAppBar=true&amp;hideFooter=true&amp;targetTop=true" class="btn btn-primary">My dashboard 1</a>
           </html>
    </panel>
  </row>
  <row>
    <panel>
      <html>
       <iframe name="my_link" width="100%" height="1000" frameborder="0" allowfullscreen="0"> </iframe>  
     </html>
    </panel>
  </row>
</dashboard>
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, ...