Dashboards & Visualizations

Unable to open external link in new tab ; -blank not working

Splunk Employee
Splunk Employee

I want to open a external link in our Splunk app that opens in a new browser tab.

By default it opens in the same window.My splunk version is 6.5.0.

This is what we have used :

but it does not seem to work .

Kindly,help me to fix the issue.

Tags (1)
0 Karma

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:

Splunk Developer Portal

Please Note:-It works only for 7.2.x versions and above.Tried it with lower versions(for ex.6.5.x) of splunk and it's not working.For 7.2.x it works for pre-defined apps as well as custom apps also.



You can use target="_blank" in link. Please try below sample dashboard.

        <a href="http://www.google.com" target="_blank">Google</a>
          <query>| makeresults | eval Data="Google"</query>
        <option name="count">10</option>
        <option name="drilldown">cell</option>
        <option name="refresh.display">progressbar</option>
          <link target="_blank">http://www.google.com</link>
0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.