Dashboards & Visualizations

How to navigate to an external page from a Splunk navigation menu in 6.1.2?

rakesh_498115
Motivator

Hi All,

I am using SPLUNK 6.1.2 and I am using the following in my App navigation page,

<a target="_blank" href="www.google.com"> Search Google </a>

But its not working as expected! Any help?

Thanks,
Rakesh.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Rakesh, you are very close. Inside the default.xml file for Navigation, you are correct in using an a href. However, unless you include a protocol ( http or https), Splunk will interpret that as a relative url. So just include the protocol.

 <nav>
  <collection label="Dashboards">
    <view name="mydashboard" />
  </collection>
  <collection label="Search views">
    <view name="mysearchview" />
    <a href="http://www.google.com">Google</a>
  </collection>
</nav>

http://docs.splunk.com/Documentation/Splunk/6.4.1/AdvancedDev/BuildNavigation#Build_the_navigation_X...

rakesh_498115
Motivator

Hi alacercogitatus,

I have given http: protocol but still no luck. its not opening in a new window browser rather its opening in the parent window itself 😞

Thanks,
Rakesh.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

That is a different question then your original. Now that google opens in the window, you have to allow the target to be _blank, and default.xml doesn't allow some attributes.

See http://answers.splunk.com/answers/11654/appbar-links-open-in-new-windo on how to put a _blank target on the href.

Please accept the answer, as it is correct for your question.

0 Karma

rakesh_498115
Motivator
 <a href="www.google.com"> target="_blank"> Search Google </a>
0 Karma

ChrisG
Splunk Employee
Splunk Employee

You have an extra > in there, right? Should be:

<a href="www.google.com" target="_blank"> Search Google </a>

ChrisG
Splunk Employee
Splunk Employee

You have given so little information here, and a badly formed link, it is hard to know how to begin to answer.

Perhaps if you provided some more context, and pasted in the relevant XML (or whatever you are using for your app), someone might stand a chance of helping.

Hats off to woodcock for giving it a try!

0 Karma

woodcock
Esteemed Legend

I have never tried that but you can exploit workflow actions:

http://docs.splunk.com/Documentation/Splunk/6.4.1/Knowledge/CreateworkflowactionsinSplunkWeb

0 Karma

rakesh_498115
Motivator

Thanks for the update woodcook.. I was intended use something in the navigation URL and not in dashboards for now. Anyway will go through this and get back whether it helps me.

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!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...