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!

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI &#43; Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...

Splunk Technical Support Is Moving to Cisco Support Tools

Introduction Splunk technical support is transitioning to Cisco’s support environment. This change brings ...