Splunk Search

How to remove null value from multiselect input

ND
Path Finder

Hi All,

In my dashboard, I have edit data option.

For few multiselect input option the previous value is null, on edit when I select any new value I want to remove that null value from multiselect data.

I am using JavaScript to add/ edit records from UI.

could you please help to deal with the null values. to remove null values on selection of new data.

Thanks!

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@ND 

Try by setting up blank before you set it again.

var multi = splunkjs.mvc.Components.getInstance("multiselect_tkn");

multi.val([]) 

 

Please share you sample code so we can help you further.

Thanks
KV


If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.

0 Karma
Get Updates on the Splunk Community!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...