<?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: Splunk Join command basics / newbie examples in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/507374#M2416</link>
    <description>&lt;P&gt;&lt;FONT face="impact,chicago"&gt;&lt;SPAN class="mw-headline"&gt;Descriptions for the join-options&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="mw-headline"&gt;argument&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;type &lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;type=inner | outer | left&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Indicates the type of join to perform. The difference between an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;inner&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;left&amp;nbsp;(or&amp;nbsp;outer) &lt;/FONT&gt;&lt;/STRONG&gt;join is how the events are treated in the main search that do not match any of the events in the subsearch. In both inner and left joins, events that match are joined. The results of an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;inner&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;join do not include events from the main search that have no matches in the subsearch. The results of a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;left&amp;nbsp;(or&amp;nbsp;outer)&lt;/FONT&gt;&lt;/STRONG&gt; join includes all of the events in the main search and only those values in the subsearch have matching field values.&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;Default:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;inner&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/SearchReference/Join" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/SearchReference/Join&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think both are the same.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Jul 2020 22:54:39 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-07-04T22:54:39Z</dc:date>
    <item>
      <title>Splunk Join command basics / newbie examples</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/504585#M1985</link>
      <description>&lt;P&gt;Hi All...&lt;/P&gt;&lt;P&gt;For those who already know some SQL, the join commands are pretty easy. Some of my teammates who are non-sql members, they were not aware of join, and when they try to read docs, they could not understand easily. Hence i thought to create this post for all. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 11:30:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/504585#M1985</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-06-16T11:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Join command basics / newbie examples</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/504591#M1986</link>
      <description>&lt;P&gt;Lets take 2 simple files:&lt;/P&gt;&lt;P data-unlink="true"&gt;ubuntu@sekar:~$ more /tmp/names1&lt;BR /&gt;name=a&lt;BR /&gt;name=b&lt;BR /&gt;name=c&lt;BR /&gt;name=e&lt;BR /&gt;name=f&lt;BR /&gt;ubuntu@sekar:~$ more /tmp/names2&lt;BR /&gt;name=d&lt;BR /&gt;name=f&lt;BR /&gt;name=g&lt;BR /&gt;name=h&lt;BR /&gt;name=i&lt;BR /&gt;ubuntu@sekar:~$ &amp;nbsp;&lt;/P&gt;&lt;P&gt;i uploaded these 2 files and used the join command:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Join" style="width: 438px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9202iEF9EE04A0DB64ED2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Join" alt="Join" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1. inner join example: (inner join is the default join method):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="join-inner.png" style="width: 896px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9203iA6F17ADAFFC8B3E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="join-inner.png" alt="join-inner.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. left join example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="join-left.png" style="width: 942px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9204i58887D88C7A7F383/image-size/large?v=v2&amp;amp;px=999" role="button" title="join-left.png" alt="join-left.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. outer join example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="join-outer.png" style="width: 902px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9205i5B73166089E2C83E/image-size/large?v=v2&amp;amp;px=999" role="button" title="join-outer.png" alt="join-outer.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 11:37:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/504591#M1986</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-06-16T11:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Join command basics / newbie examples</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/505122#M2058</link>
      <description>&lt;P&gt;Accepting the above as solution..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please reply your views, karma points &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 03:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/505122#M2058</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-06-19T03:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Join command basics / newbie examples</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/507366#M2415</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;the splunk left join and outer join - both are same ah?!?!&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jul 2020 18:54:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/507366#M2415</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-07-04T18:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Join command basics / newbie examples</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/507374#M2416</link>
      <description>&lt;P&gt;&lt;FONT face="impact,chicago"&gt;&lt;SPAN class="mw-headline"&gt;Descriptions for the join-options&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="mw-headline"&gt;argument&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;type &lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;type=inner | outer | left&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Indicates the type of join to perform. The difference between an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;inner&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;left&amp;nbsp;(or&amp;nbsp;outer) &lt;/FONT&gt;&lt;/STRONG&gt;join is how the events are treated in the main search that do not match any of the events in the subsearch. In both inner and left joins, events that match are joined. The results of an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;inner&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;join do not include events from the main search that have no matches in the subsearch. The results of a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;left&amp;nbsp;(or&amp;nbsp;outer)&lt;/FONT&gt;&lt;/STRONG&gt; join includes all of the events in the main search and only those values in the subsearch have matching field values.&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;Default:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;inner&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/SearchReference/Join" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/SearchReference/Join&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think both are the same.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jul 2020 22:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/507374#M2416</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-07-04T22:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Join command basics / newbie examples</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/507439#M2429</link>
      <description>&lt;P&gt;It's worth pointing out in any Splunk discussion of join that there are some hidden pitfalls that can be hard to detect with large data sets, particularly around the default subsearch data set sizes and search time length.&lt;/P&gt;&lt;P&gt;I find that SQL devs coming to Splunk will always try to skin the cat with a join and then increase limits when things don't work.&lt;/P&gt;&lt;P&gt;The alternative commands section at the top is a good starting point and I have found it really useful to use stats as a starting point to combine multiple disparate data sets. I've generally found it faster than the join and for really large data sets, join just will not work in any reasonable time frame.&lt;/P&gt;&lt;P&gt;That's not to say that join doesn't have a use, but it should rarely be the go-to command for a join type operation. Working out how to do it the stats way gives you a better understand of the data/pipeline flow in SPL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 01:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Join-command-basics-newbie-examples/m-p/507439#M2429</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-07-06T01:13:08Z</dc:date>
    </item>
  </channel>
</rss>

