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.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...