<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to execute a full outer join in splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-execute-a-full-outer-join-in-splunk/m-p/126625#M34292</link>
    <description>&lt;P&gt;Got The Solution&lt;/P&gt;

&lt;P&gt;Query:&lt;/P&gt;

&lt;P&gt;index=a | join type=outer[ SEARCH index=b|rename id as id_cardNum]&lt;BR /&gt;
 |where id=id_cardNum|table id,name,desg,sal&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 19:44:39 GMT</pubDate>
    <dc:creator>rkanumula</dc:creator>
    <dc:date>2020-09-28T19:44:39Z</dc:date>
    <item>
      <title>How to execute a full outer join in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-execute-a-full-outer-join-in-splunk/m-p/126623#M34290</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i have a indexes A and B. when i am joining both indexes with &lt;CODE&gt;type=outer&lt;/CODE&gt;, I am getting only left index data, but I want both columns of data. How do I do this?&lt;/P&gt;

&lt;P&gt;ex:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Index A&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id  name  sal
1    x    10,000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Index B&lt;/STRONG&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id desgn
1  eng 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I want the output as: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id  name  sal     desg
1    x    10000   engineer 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is my current search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=a | join type=outer a.id[ SEARCH index=b]|table id,name,desg,sal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 14:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-execute-a-full-outer-join-in-splunk/m-p/126623#M34290</guid>
      <dc:creator>rkanumula</dc:creator>
      <dc:date>2015-04-03T14:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a full outer join in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-execute-a-full-outer-join-in-splunk/m-p/126624#M34291</link>
      <description>&lt;P&gt;Maybe it's a typo, but Splunk joins aren't the same as SQL joins.  Did you try &lt;CODE&gt;index=a | join type=outer id [search index=b] | table id name sal desgn&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 14:23:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-execute-a-full-outer-join-in-splunk/m-p/126624#M34291</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-04-03T14:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a full outer join in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-execute-a-full-outer-join-in-splunk/m-p/126625#M34292</link>
      <description>&lt;P&gt;Got The Solution&lt;/P&gt;

&lt;P&gt;Query:&lt;/P&gt;

&lt;P&gt;index=a | join type=outer[ SEARCH index=b|rename id as id_cardNum]&lt;BR /&gt;
 |where id=id_cardNum|table id,name,desg,sal&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:44:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-execute-a-full-outer-join-in-splunk/m-p/126625#M34292</guid>
      <dc:creator>rkanumula</dc:creator>
      <dc:date>2020-09-28T19:44:39Z</dc:date>
    </item>
  </channel>
</rss>

