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!

Mastering Threat Intelligence in ES 8.5, Splunk AI Assistant v2, and More from Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...