Dashboards & Visualizations

How to create a hyperlink in main menu

aditsss
Motivator

Hi Everyone,

I need to create one hyperlink in my top menu bar.

I tried with following code. But its not working.

<collection>
<li><a href="O2 Team">O2 Team</a></li>
</collection>

I just want it as a static link as of now.

Can someone guide me how to create it.

 

Labels (3)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

You need to add a label="xxx" to your <collection> and remove the <li> from the line, e.g.

<collection label="This is the label for your collection">
  <a href="O2 Team">O2 Team</a>
</collection>  

but that will create a drop down menu with the label and your link will be in that menu.

If you just use the <a> line without <collection>, then you will have a single entry in your menu with the link to your href

 

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!

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Developer Spotlight with Eduard Lekanne

From Network Engineer to Building Agentic AI for Splunk Eduard Lekanne has been architecting technology ...

From Data Landing to Insight

Search Across More of Your Data Ecosystem The data you need may live in Splunk, high-volume machine data, ...