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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...