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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...