Splunk Enterprise

How to create a dropdown with 3 options  as success, warnings, and error?

mahesh27
Path Finder

i am new to dashboard studio, i have 15 panels in my dashboard and i want to create a dropdown with 3 options  as success, warnings and error

success- 5 panels
Warnings- 5 panels
error-5 panels.

So when i select success from the dropdown, only Success-5panels should display.
when i select errors only error related panels should show up.

Labels (1)
0 Karma

SR_70
Explorer

Try this xml:

<form version="1.1">
<label>Test-Dashboard</label>
<fieldset submitButton="false">
<input type="dropdown" token="status_tok">
<label>Status</label>
<choice value="Success">Success</choice>
<choice value="Warnings">Warnings</choice>
<choice value="Errors">Errors</choice>
</input>
</fieldset>
</form>

woodcock
Esteemed Legend

Why studio?  I know how to do it in SimpleXML...

0 Karma

mahesh27
Path Finder

Hi @woodcock, but my requirement is in studio dashboard.

Can you please help on this 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You may have to wait for a while until this sort of functionality is available in Studio.

In the meantime, challenge your requirements, is the person giving you the requirement prepared to wait until the functionality is available, or would they compromise and allow you to develop the dashboard in SimpleXML where this sort of thing can be done easily?

0 Karma

mahesh27
Path Finder

thank you for the information.
can you please provide the  drop down  code for classic dashboard.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...