Dashboards & Visualizations
Highlighted

Splunk default.xml open link in a new tab

Splunk Employee
Splunk Employee

Has anyone had any luck with default.xml opening new a href link into a new tab in Splunk 6.1? I have seen some answers post but they don't seem to work as expected.

Highlighted

Re: Splunk default.xml open link in a new tab

Explorer

I'm also looking to see if this is possible. I tried setting a target <a target="_blank" href="http://www.splunk.com">Splunk.com</a> but the link still loads within the current browser viewport.

0 Karma
Highlighted

Re: Splunk default.xml open link in a new tab

Builder

We have the same issue and will be submitting a feature request to Splunk.

0 Karma
Highlighted

Re: Splunk default.xml open link in a new tab

Motivator

I am also looking for this answer

Hope someone is watching

0 Karma
Highlighted

Re: Splunk default.xml open link in a new tab

Community Manager
Community Manager

Hi @hartfoml

Just fyi, if you're experiencing the same issue covered in a question, be sure to click the "ME TOO" button just below the question title on the left side. This will show multiple people are experiencing this and help improve the visibility of the post. This is a fairly new feature that I've noticed a lot of users haven't been taking advantage of, so I'm letting folks know when the opportunity strikes 🙂 Cheers

0 Karma
Highlighted

Re: Splunk default.xml open link in a new tab

Communicator

Hi, I'm also struggling with this issue - any click on a graph or table takes the user to a new screen, then they need to click back and wait for everything to load again.

0 Karma
Highlighted

Re: Splunk default.xml open link in a new tab

Builder
0 Karma
Highlighted

Re: Splunk default.xml open link in a new tab

Builder

Hi aaronkorn,

whether you were able to resolve this issue ? any luck on working of target="_blank" ????

0 Karma
Highlighted

Re: Splunk default.xml open link in a new tab

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.

Highlighted

Re: Splunk default.xml open link in a new tab

Explorer

I have used the code below and it is working as you need.

<collection label="Useful Links">
<a href="https://my_web_page/index.html">Page Name</a>
</collection>
0 Karma