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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...