Getting Data In

Joining two csv files

mjlsnombrado
Communicator

Hi, I have two CSV files that I want to be joined ex. file1 and file2 there are values in file2 which do not have a match in file1 but in the final result I want these values to be included.

Sample spl :
| savedsearch file1
| join type=outer ID [| savedsearch file2]

Tags (1)
0 Karma
1 Solution

493669
Super Champion

try this:

| savedsearch file2|join type=left ID [| savedsearch file1]

View solution in original post

0 Karma

493669
Super Champion

try this:

| savedsearch file2|join type=left ID [| savedsearch file1]
0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...