<?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: help me with join condition in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300385#M90437</link>
    <description>&lt;P&gt;index=index2 sid=* | join type=left sid [search index=index1 sid=* ] | table sid did&lt;/P&gt;

&lt;P&gt;this is working&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2017 18:57:38 GMT</pubDate>
    <dc:creator>sravankaripe</dc:creator>
    <dc:date>2017-02-15T18:57:38Z</dc:date>
    <item>
      <title>help me with join condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300380#M90432</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2488iA2EEE7CC3B8B275F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;i have two indexes i have Sid common in both &lt;/P&gt;

&lt;P&gt;i want to display Sid and Did in a table.&lt;BR /&gt;
Please help me with join condtion.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 16:59:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300380#M90432</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2017-02-15T16:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: help me with join condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300381#M90433</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=index2 sid=* | join type=left sid [search index=index1 sid=* | fields sid ] | table sid did
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assumes index2 has sid &amp;amp; did, and index1 has just sid&lt;/P&gt;

&lt;P&gt;Basically mirror your image and follow the docs: &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/SearchReference/Join&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 17:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300381#M90433</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-02-15T17:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: help me with join condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300382#M90434</link>
      <description>&lt;P&gt;Is there a common field between those two indexes? If I understand correctly you're trying to get what a SQL right outer join will give, is it correct?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 17:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300382#M90434</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-15T17:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: help me with join condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300383#M90435</link>
      <description>&lt;P&gt;Sid is a common field.&lt;BR /&gt;
Yes, it is similar like  SQL Right join .&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:33:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300383#M90435</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2017-02-15T18:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: help me with join condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300384#M90436</link>
      <description>&lt;P&gt;How about this? (will keep events with sid common and sid only in index=B, the right outer join)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=A OR index=B | stats value(did) as did values(index) as indexes by sid | where isnotnull(mvfind(indexes,"B"))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300384#M90436</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-15T18:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: help me with join condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300385#M90437</link>
      <description>&lt;P&gt;index=index2 sid=* | join type=left sid [search index=index1 sid=* ] | table sid did&lt;/P&gt;

&lt;P&gt;this is working&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-me-with-join-condition/m-p/300385#M90437</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2017-02-15T18:57:38Z</dc:date>
    </item>
  </channel>
</rss>

