Splunk Dev

External link in default.xml - open in new tab target="_blank" not working.

simpkins1958
Contributor

Need to provide an external link in our Splunk app menu that opens in a new browser tab.

This does not work.

<a href="http://www.xxxxx.com/support/docs/xxxx/400/help/xxxxx.htm#context/xxxxxconsole/splunk" target="_blank">xxxx Help</a> 

dnitschke_splun
Splunk Employee
Splunk Employee

In Splunk 7.2.x opening an external link in a new tab from the app navigation bar works. Example data/ui/nav/default.xml file including a link to the Splunk Developer Portal:

<nav search_view="search">
  <view name="search" default='true' />
  <view name="datasets" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
  <a href="http://dev.splunk.com/" target="_blank">Splunk Developer Portal</a>
</nav>

Tested with Chrome 71.0.3578.98, Firefox 64.0.2, Safari 12.0.2 on macOS 10.14.2.

helge
Builder

Splunk even adds a little symbol to the link to indicate that it opens in a new tab.

0 Karma

rmarcum
Explorer

Works for me per the original question, as noted on this HTML tutorial site:

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_target

0 Karma

rmarcum
Explorer

Oh, and the XML snippet when putting the URL below panel filters on a dashboard panel for a table:

      </input>
          <html>
             <body>
               <a href="http://www.google.com" target="_blank">Google</a>
             </body>
           </html>
      <table>
        <title> ....

TonyLeeVT
Builder

I don't believe you example relates to default.xml as per the question. Thank you though.

0 Karma

rmarcum
Explorer

Splunk Version ............................................6.5.4Splunk Build ............................................adb84211dd7c

0 Karma

rjthibod
Champion
0 Karma

simpkins1958
Contributor

I downvoted this post because asked a couple of years ago and never answered. hoping someone has a solution.

0 Karma

rjthibod
Champion

I am sorry but why would you downvote me for pointing out that there is still no solution and that this is a redundant question?

Get Updates on the Splunk Community!

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, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...