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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...