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 !

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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...