Dashboards & Visualizations

Splunk default.xml open link in a new tab

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

akelbr
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

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.

pgadhari
Builder

Hi aaronkorn,

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

0 Karma

hortonew
Builder
0 Karma

johnraftery
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

hartfoml
Motivator

I am also looking for this answer

Hope someone is watching

0 Karma

ppablo
Retired

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

p1stolero
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

TonyLeeVT
Builder

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

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...