<?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 Search join with filter in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27882#M5452</link>
    <description>&lt;P&gt;I want to do the SQL in Splunk:&lt;/P&gt;

&lt;P&gt;SELECT TB1.* &lt;BR /&gt;
FROM TB1&lt;BR /&gt;
JOIN TB2&lt;BR /&gt;
   ON TB2.ID = TB1.ID&lt;BR /&gt;
WHERE TB2.OPTION = "OPTION 1"&lt;/P&gt;

&lt;P&gt;How do I do this?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2012 15:00:17 GMT</pubDate>
    <dc:creator>erick_costa</dc:creator>
    <dc:date>2012-08-07T15:00:17Z</dc:date>
    <item>
      <title>Search join with filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27882#M5452</link>
      <description>&lt;P&gt;I want to do the SQL in Splunk:&lt;/P&gt;

&lt;P&gt;SELECT TB1.* &lt;BR /&gt;
FROM TB1&lt;BR /&gt;
JOIN TB2&lt;BR /&gt;
   ON TB2.ID = TB1.ID&lt;BR /&gt;
WHERE TB2.OPTION = "OPTION 1"&lt;/P&gt;

&lt;P&gt;How do I do this?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 15:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27882#M5452</guid>
      <dc:creator>erick_costa</dc:creator>
      <dc:date>2012-08-07T15:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search join with filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27883#M5453</link>
      <description>&lt;P&gt;Check out this document!&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://www.innovato.com/splunk/SQLSplunk.html"&gt;http://www.innovato.com/splunk/SQLSplunk.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;
You might find it helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 15:33:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27883#M5453</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2012-08-07T15:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Search join with filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27884#M5454</link>
      <description>&lt;P&gt;or, here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SQLtoSplunk"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SQLtoSplunk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27884#M5454</guid>
      <dc:creator>sophy</dc:creator>
      <dc:date>2012-08-07T16:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Search join with filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27885#M5455</link>
      <description>&lt;P&gt;Even better!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27885#M5455</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2012-08-07T16:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search join with filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27886#M5456</link>
      <description>&lt;P&gt;Although, in many cases the best thing to do is to not think of it as a join,  break it down as a) a disjunction (sourcetype=A some terms) OR (sourcetype=B some other terms) b) a little eval to smooth things out in small ways,  c) a stats command to pair everything up in the exact same way a join would.  the best practice for advanced splunk developers is really to use lookups or stats or transaction, and only actually use the join command as a last resort.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:25:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-join-with-filter/m-p/27886#M5456</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-08-07T16:25:36Z</dc:date>
    </item>
  </channel>
</rss>

