Dashboards & Visualizations

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

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

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

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

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

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

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

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