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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...