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
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...