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.pngMarco_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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

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 ...