<?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 use join command to keep events from subsearch that do not match with parent search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154999#M43603</link>
    <description>&lt;P&gt;Just for reference (see 2nd answer) &lt;A href="http://answers.splunk.com/answers/81741/full-outer-join"&gt;http://answers.splunk.com/answers/81741/full-outer-join&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2014 18:49:08 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-07-24T18:49:08Z</dc:date>
    <item>
      <title>How to use join command to keep events from subsearch that do not match with parent search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154995#M43599</link>
      <description>&lt;P&gt;My understanding of the documentation (and my experiments) is that the &lt;CODE&gt;inner&lt;/CODE&gt; keeps only events that match both searches, &lt;CODE&gt;left&lt;/CODE&gt; keeps matches as well as items that were in the parent search but not in the child search, and &lt;CODE&gt;outer&lt;/CODE&gt; keeps ONLY events that did not match from both searches.  Unfortunately, I can't figure out how to keep items from the subsearch.&lt;/P&gt;

&lt;P&gt;The search that I have set as the parent search returns more than 50k events and therefore can't be the subsearch.&lt;/P&gt;

&lt;P&gt;Any ideas how to use the &lt;CODE&gt;join&lt;/CODE&gt; command where the search keeps any events from the subsearch that do not have matches with the parent?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:47:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154995#M43599</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2014-07-23T17:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use join command to keep events from subsearch that do not match with parent search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154996#M43600</link>
      <description>&lt;P&gt;You might be able to do it without join (using stats). Could you provide your two searches?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 18:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154996#M43600</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-23T18:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use join command to keep events from subsearch that do not match with parent search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154997#M43601</link>
      <description>&lt;P&gt;Check this link.. how to join with out common fields&lt;/P&gt;

&lt;P&gt;&lt;A href="http://"&gt;http://answers.splunk.com/answers/109964/join-a-subsearch-with-the-outer-search-without-a-common-field&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 18:16:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154997#M43601</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-23T18:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use join command to keep events from subsearch that do not match with parent search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154998#M43602</link>
      <description>&lt;P&gt;Yes! Stats! I think that's the way to go. Then I can use something simple like a | fields just the stuff to keep | stats latest(*) as * by unique1 unique2&lt;/P&gt;

&lt;P&gt;Good idea!&lt;/P&gt;

&lt;P&gt;I can't really share the actual search - they are derived from a massive amount of macros and I'm concerned they exposes a little more about the business than I'm comfortable with.&lt;/P&gt;

&lt;P&gt;The stats is a great idea - exactly what I was looking for - a way to approach this from another direction.  Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 18:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154998#M43602</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2014-07-24T18:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use join command to keep events from subsearch that do not match with parent search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154999#M43603</link>
      <description>&lt;P&gt;Just for reference (see 2nd answer) &lt;A href="http://answers.splunk.com/answers/81741/full-outer-join"&gt;http://answers.splunk.com/answers/81741/full-outer-join&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 18:49:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/154999#M43603</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-24T18:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use join command to keep events from subsearch that do not match with parent search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/155000#M43604</link>
      <description>&lt;P&gt;Thanks. That is exactly how I interpreted your tip. Ideally I get them on the same initial search but at the least I think I'll be all set using stats.  Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 19:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-command-to-keep-events-from-subsearch-that-do/m-p/155000#M43604</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2014-07-24T19:57:08Z</dc:date>
    </item>
  </channel>
</rss>

