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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...