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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...