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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...