Splunk Search

How do you use the Join command even if the substring of a particular column matches?

Nadhiyaa
Path Finder

Hi,

I want to join two searches based on a column, even if the substring of the two column matches .

Below is my sample snippet.

index=xx |rename "Vulnerable Machine" as VM| join type=left VM [search index=vmware sourcetype="vmware-tags-csv" earliest=-24h latest=now| rename vm_name as VM|eval VM=upper(VM)]

Here, VM is the column I need to compare. Even if the substring of matches, it should join from the subsearch.

Let me know if anyone has come across the same issue.

Thanks

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The join command matches the entire value of the joining field. There is no way to match substrings.

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

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...