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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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