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!

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...