Dashboards & Visualizations

How to assign the value to contain all events if using mvfind() in multiselect ?

Jouman
Path Finder

Hi all,

I deal with a multi-value fields and try to provide a multiselect dropdown for users.
Therefore, I use mvfind() in the setting for Token value(prefix) / Token value(Suffix).
Token value(Prefix) = isnotnull(mvfind( HWid, "
Token value(Suffix) = "))

It works well if I input one HW ID or many HW ID.
However, I get trouble in inputing "all".

I want to provide users all events by default but I am unable to find a way to do this by using mvfind().
It is similar as wildchar (all any values) to mvfind().
Is there any suggestion on how to provide all events on mvfind() ?

Thank you so much!

Jouman

Labels (1)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

Set the value multiselect value for "all" to be .* so it effectively becomes

isnotnull(mvfind(HWid,".*"))

which will then find any value in HWid

View solution in original post

Jouman
Path Finder

The answer works perfectly! 

Thank you so much!

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Set the value multiselect value for "all" to be .* so it effectively becomes

isnotnull(mvfind(HWid,".*"))

which will then find any value in HWid

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...