Dashboards & Visualizations

Dropdown to another dashboard

Marco
Communicator

Hi Splunkers,

I am currently trying to create a dropdown box that will let you select a value, and then redirect you to a new dashboard.

<input type="dropdown" token="OperatingSystems" searchWhenChanged="true">
<label>OS</label>
<choice value="">Overview</choice>
<choice value="Windows">Windows</choice>
<choice value="Linux">Linux</choice>
<choice value="MacOS">MacOS</choice>
<change>

<condition field="Overview">
<link target="_blank">app/VAA/Overview_aa1</link>
</condition>
<condition field="Windows">
<link target="_blank">app/VAA/Windows_aa1</link>
</condition>
<condition field="Linux">
<link target="_blank">app/VAA/Linux_aa1</link>
</condition>

<condition field="MacOS">
<link target="_blank">app/VAA/MacOS_aa1</link>
</condition>
</change>
</input>

When I change the value in the dropdown box nothing happens.

Ideally, what I am trying to do is when a user changes the OS it takes them to that dashboard.

Marco_0-1607552679921.png

 

Any Suggestions?.

Thank you,

Marco

Labels (4)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

Your condition is wrong, you are checking 'field=' and in <input> elements you have no fields. Correct usage is value="..."

https://docs.splunk.com/Documentation/Splunk/8.1.0/Viz/PanelreferenceforSimplifiedXML#condition_.28f...

 

View solution in original post

bowesmana
SplunkTrust
SplunkTrust

Your condition is wrong, you are checking 'field=' and in <input> elements you have no fields. Correct usage is value="..."

https://docs.splunk.com/Documentation/Splunk/8.1.0/Viz/PanelreferenceforSimplifiedXML#condition_.28f...

 

Marco
Communicator

@bowesmana  Thank bro, that worked !

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...