Dashboards & Visualizations

Simple: syntax to launch new window when clicking on link in dashboard?

the_wolverine
Champion

Currently when I click on links in my dashboard, Splunk launch the link in the existing browser window and I lose my dashboard view. What syntax is needed to get Splunk to launch a new window when I click on a link in my dashboard?

0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

1) with clicks on FlashChart modules and SimpleResultsTable modules, you can simply hold down the Ctrl key when you click, and it'll open in a new window. (Command key if you're on a mac)

Unfortunately the SearchLinkLister module (the module that shows blue links) doesnt seem to follow this convention.

2) If you're willing to modify the XML, and it's an advanced XML dashboard you're dealing with, you would go find all the ViewRedirector modules and add this param:

<param name="popup">True</param>

and for each one that you change, the corresponding clicks will all then open in a new window always.

If you're ever curious to see what all the module params are for the splunk version installed on your system, go to:

http://<your host and port>/en-US/modules

or more specifically,

http://<your host and port>/en-US/modules#Splunk.Module.ViewRedirector

View solution in original post

sideview
SplunkTrust
SplunkTrust

1) with clicks on FlashChart modules and SimpleResultsTable modules, you can simply hold down the Ctrl key when you click, and it'll open in a new window. (Command key if you're on a mac)

Unfortunately the SearchLinkLister module (the module that shows blue links) doesnt seem to follow this convention.

2) If you're willing to modify the XML, and it's an advanced XML dashboard you're dealing with, you would go find all the ViewRedirector modules and add this param:

<param name="popup">True</param>

and for each one that you change, the corresponding clicks will all then open in a new window always.

If you're ever curious to see what all the module params are for the splunk version installed on your system, go to:

http://<your host and port>/en-US/modules

or more specifically,

http://<your host and port>/en-US/modules#Splunk.Module.ViewRedirector

606866581
Path Finder

Thanks, this helped a lot

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, ...