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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...