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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...