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!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...