Dashboards & Visualizations

Need to change dropdown values based on checkbox

architkhanna
Path Finder

I have a ticket category drop down (including assigned,in progress,closed reassigned etc)
I have a checkbox, on click of which I want the category drop down to run for all its value values EXCEPT "reassigned" value and once unchecked it should run with all the values present in category drop down
Any leads would be helpful.
Thanks

0 Karma

sbbadri
Motivator

<form>
<label>testDDCB</label>
<fieldset submitButton="true" autoRun="true">
<input type="time" token="time_tok">
<label>Time Range:</label>
<default>
<earliest>-24h@h</earliest>
<latest>now</latest>
</default>
</input>
<input type="radio" token="exclude" searchWhenChanged="true">
<label>Exclude/Include</label>
<choice value="1">With Reassigned</choice>
<choice value="2">without Reassigned</choice>
<change>
<eval token="fq">if($value$=="1","|search category=*","|search NOT catergory=reassigned")</eval>
</change>

</input>
<input type="dropdown" token="cat_tok" searchWhenChanged="true">
<label>Category</label>
<fieldForLabel>category</fieldForLabel>
<fieldForValue>category</fieldForValue>
<search>
<query>index=* sourcetype=xxx $fq$ | dedup category | table category</query>
<earliest>-4h@m</earliest>
<latest>now</latest>
</search>
</input>
</fieldset>

</form>

m7787579
New Member

Can you provide your query ? just hide you crucial details.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...