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.
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&hideTitle=true&hideSplunkBar=true&hideAppBar=true&hideFooter=true&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>
it opens the dashboard in another tab, can we open it in the same dashboard instead?
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/
Hi,
May I know where to place the above query? Do we need to write this query inside a Search Head?
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.
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.
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&hideTitle=true&hideSplunkBar=true&hideAppBar=true&hideFooter=true&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>