Splunk Search

How to create a join when first search contains multivalues for single field?

Woodpecker
Path Finder

Hi,

I'm trying to join two searches where the first search includes a single field with multiple values. The matching field in the second search ONLY ever contains a single value. The search ONLY returns matches on the join when there are identical values for search 1 and search 2.

In other words if search 1 has a field named id, and contains field1=a and field2=b and the second search contains field2=b, results aren't looking as expected

The search will ONLY return results if search 1 contains a single value for field 1

Any suggestions on how to join a search with multiple values?

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Use mvexpand to expand the multivalue field prior to doing the join.

0 Karma
Get Updates on the Splunk Community!

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...