<?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 do I simulate doing a left join or outer join using the &amp;quot;lookup&amp;quot; command? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218058#M64091</link>
    <description>&lt;P&gt;you can try to use &lt;CODE&gt;...|appendpipe [stats count by clusterTitle |join max=0 clusterTitle [|inputlookup clusterTable.csv]|fields - count]|stats values(*) by clusterTitle&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;or something along those lines. Without knowing your actual syntax/data, that's the best I got.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2016 19:58:04 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2016-11-11T19:58:04Z</dc:date>
    <item>
      <title>How do I simulate doing a left join or outer join using the "lookup" command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218057#M64090</link>
      <description>&lt;P&gt;Issue I am running into right now is I have a result set that I want to pull in threshold values that reside in a lookup CSV file.  I am looking up based on a cluster title field, but ideally, what I want to happen is for every single cluster title in this lookup file to produce a row, even if there were no results in my actual search for that cluster.  Is there a way I can do this?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 19:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218057#M64090</guid>
      <dc:creator>bcronrath</dc:creator>
      <dc:date>2016-11-11T19:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I simulate doing a left join or outer join using the "lookup" command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218058#M64091</link>
      <description>&lt;P&gt;you can try to use &lt;CODE&gt;...|appendpipe [stats count by clusterTitle |join max=0 clusterTitle [|inputlookup clusterTable.csv]|fields - count]|stats values(*) by clusterTitle&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;or something along those lines. Without knowing your actual syntax/data, that's the best I got.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 19:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218058#M64091</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-11-11T19:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I simulate doing a left join or outer join using the "lookup" command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218059#M64092</link>
      <description>&lt;P&gt;Try like this (assuming  your current search gives a results set with unique values of field cluster_title)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your current search giving result with fields cluster_title and others
| append [| inputlookup yourlookup.csv | table cluster_title ]
| stats values(*) as * by cluster_title
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Nov 2016 20:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218059#M64092</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-11-11T20:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I simulate doing a left join or outer join using the "lookup" command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218060#M64093</link>
      <description>&lt;P&gt;works perfectly thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 23:30:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-simulate-doing-a-left-join-or-outer-join-using-the-quot/m-p/218060#M64093</guid>
      <dc:creator>bcronrath</dc:creator>
      <dc:date>2016-11-11T23:30:44Z</dc:date>
    </item>
  </channel>
</rss>

