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!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...