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

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...