Splunk Search

Left Outer join - only rows from the left table , in splunk

aayushisplunk1
Path Finder

Is it possible to implement LEFT OUTER JOIN where only rows from the left table are fetched (NOT the Common values)?

Consider the example as given below:

Table A:

email@xxx |........
abcd@xxxx |........
efgh@xxxx |........
xyza@xxxx |........

Table B:

email@xxx|........
ijk@xxxx |........
xyza@xxxx |........

Required output table: Table C:

email@xxx |.........
abcd@xxxx |........
efgh@xxxx |........

My Query:

mysearch1
| table email@xxxx, ....
| join type=left email@xxx
[ search mysearch2
| table email@xxxx , ...]
| table email@xxx, ...

alt text

Tags (1)

jitendragupta
Path Finder

Plz check this output, this is as per your requirement:

| makeresults |  eval id="abcd@xxxx" | append  [| makeresults |  eval id="efgh@xxxx"] |  append  [|  eval id="xyza@xxxx"] 
|  table id 
|  join type=outer id![alt text][1]  [ | makeresults |  eval id="ijk@xxxx" | append  [| makeresults |  eval id="xyza@xxxx"]  |  table id ]
0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...