Dashboards & Visualizations

define a token when input field is empty

praphulla1
Path Finder

I am using multi select drop-down input field (multiField1) where i have ALL as static option and i use * as value to search for all the possible values of a particular field.

When user tries to add an option to drop-down, he has to manually remove the ALL which is not good user experience.

We would like to set another token selField=* when multiField1 is empty. Can you help me with the condition to set the token - selField ?

0 Karma
1 Solution

praphulla1
Path Finder

i have used the 2nd answer in the above solution and it worked for me.

0 Karma

praphulla1
Path Finder

Thanks Ravi.

i have found that result and its using a javascript based solution. i was more inclined towards implementing this without using javascript.

0 Karma

vnravikumar
Champion

please check the second solution.

0 Karma

praphulla1
Path Finder

Thanks vivek.

I just looked at the accepted answer and overlooked other options. Thanks Ravi.

0 Karma

praphulla1
Path Finder

Can you update your comments to refer to the 2nd answer in the forum so that we can mark your comment as answer to help others

0 Karma

vnravikumar
Champion

i had updated

0 Karma

praphulla1
Path Finder

I am not inclined towards using javascript todo this.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...