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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...