Splunk Search

Joining two fields with different names

JoeSco27
Communicator

I am trying to join two fields from different indexers, they both return IP Addresses but are under different field names.

Tags (1)
0 Karma

yannK
Splunk Employee
Splunk Employee

Use an eval to create the missing field in one of the searches.

example :
source=fileA | JOIN fieldA [ search source=fileB | eval fieldA=fieldB ]

Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...