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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...