Dashboards & Visualizations

Best Way to Find if Field Matches a Value in an MV Field

strehb18
Path Finder

Hello,

I am wondering what the best way to find a value in one my fields matches what is in a mv field. I cannot use mv expand and a where due to the storage limit I encounter. Is there a way to show that "match" matches with the values in field2, but "miss" would not. 

strehb18_0-1638993033222.png

 

Labels (1)
Tags (2)
0 Karma

ldongradi_splun
Splunk Employee
Splunk Employee

Try where like. It can compare with any value inside the mv field.

| where field1 LIKE (field2)

 

richgalloway
SplunkTrust
SplunkTrust

Try mvfind

| eval found = mvfind(field2, field1)

 

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...