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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...