Dashboards & Visualizations

Trying to get the drilldown when clicked open the URL in new tab.

LxSenpai
Explorer
      <link target="_blank" >http://google.com/search.html?q=$dbinit$</link>
    </drilldown>

So I am trying to figure out if it is possible to open the link in a new tab. Do i have to use JS?

0 Karma
1 Solution

poete
Builder

What is your browser? In Chrome, target="_blank" works fine.

I have read on some post that people may also use target="new".

Hope this helps

View solution in original post

sitaramupadrast
New Member

Use the ![CDATA[ ... ]] wrapper to make sure that the & symbol is interpreted correctly.

and below is the link for related documentation!
http://docs.splunk.com/Documentation/Splunk/7.1.1/Viz/DrilldownLinkToDashboard,Use the wrapper to make sure that the & symbol is interpreted correctly.

Here is the related documentation
http://docs.splunk.com/Documentation/Splunk/7.1.1/Viz/DrilldownLinkToDashboard

0 Karma

poete
Builder

What is your browser? In Chrome, target="_blank" works fine.

I have read on some post that people may also use target="new".

Hope this helps

LxSenpai
Explorer

I am using 3 different browsers on 3 different monitors atm. Looks like its dependent on both the query and the browser should have the open-in-new-tab option enabled too. In Firefox, I had the target="_blank" which would open on another window. But enabling "open in new tab" and ctrl+clicking solved the problem in firefox and in case of other browser , opening in window is fine as well. Thanks for the help @poete.

0 Karma

poete
Builder

Hello,

What is the pb? The new tab is not open or the google page is not displayed?

To me, the url should be : https://www.google.com/search?&q=$dbinit$

0 Karma

LxSenpai
Explorer

I was trying to figure out if there is anyway to explicitly make the open the url into a new tab rather than a new window.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...