<?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: joining tables miss some values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45148#M10668</link>
    <description>&lt;P&gt;join max=0&lt;/P&gt;</description>
    <pubDate>Tue, 08 May 2018 09:21:13 GMT</pubDate>
    <dc:creator>qk9962549</dc:creator>
    <dc:date>2018-05-08T09:21:13Z</dc:date>
    <item>
      <title>joining tables miss some values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45142#M10662</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
i have 2 tables to join and when i am using outer join, i am able t join 2 tables but not able to join all the values from the second table if some of he values are missing&lt;/P&gt;

&lt;P&gt;table 1&lt;BR /&gt;
   &lt;PRE&gt;&amp;lt; no value&lt;BR /&gt;
    1   we&lt;BR /&gt;
    2   this&lt;BR /&gt;
    3   that&lt;BR /&gt;
    4   from&lt;BR /&gt;
table 2&lt;BR /&gt;
value some1 some2 some3&lt;BR /&gt;
we     ddf   df   dfdf&lt;BR /&gt;
this   sd     sf   sdfsd&lt;BR /&gt;
that   sds    sds   sdfds&lt;BR /&gt;
from                here &lt;BR /&gt;
&lt;BR /&gt;
when i am trying to join these two tables wth&lt;/PRE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; `......|join type=outer value [search source=file.txt|transaction threadname|table value1 some1 some2 some3]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;`&lt;/P&gt;

&lt;P&gt;here all the values are mapping finely but not the last row as there is empty fileds in that...&lt;BR /&gt;
how to resolve this?&lt;BR /&gt;
please help&lt;BR /&gt;
thankyou&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2013 05:17:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45142#M10662</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2013-02-27T05:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables miss some values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45143#M10663</link>
      <description>&lt;P&gt;Works for me using this as an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| gentimes start=-1 increment=5m | head 1 | eval no = "1,2,3,4" | makemv no delim="," | mvexpand no | eval value = case(no==1,"v1",no==2,"v2",no==3,"v3",no==4,"v4") | table no value | join type=outer value [gentimes start=-1 increment=5m | head 1 | eval value = "v1,v2,v3,v4" | makemv value delim="," | mvexpand value | table value | eval some3 = replace(value,"v","s3_") | eval some2 = case(value=="v1","s2_1",value=="v2","s2_2",value=="v3","s2_3") | eval some1 = case(value=="v1","s1_1",value=="v2","s1_2",value=="v3","s1_3")]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Feb 2013 14:56:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45143#M10663</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-02-27T14:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables miss some values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45144#M10664</link>
      <description>&lt;P&gt;what happens if you use fillnull?&lt;/P&gt;

&lt;P&gt;`......|join type=outer value [search source=file.txt|transaction threadname| fillnull | table value1 some1 some2 some3]&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2013 15:09:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45144#M10664</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2013-02-27T15:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables miss some values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45145#M10665</link>
      <description>&lt;P&gt;cramasta,, fillnull is not providing any change to  the result..&lt;BR /&gt;
exact search is&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt; index=main source=&lt;EM&gt;SUCCESS&lt;/EM&gt; | stats values(a) by b| mvexpand values(a)| makemv delim="," values(a) | mvexpand values(a)  |rename values(a) as a|join type=outer a[search  index=main source=&lt;EM&gt;SUCCESS&lt;/EM&gt;  |transaction startswith=WRT_1023 endswith=WRT_8233 |fillnull|table a c d  ]&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45145#M10665</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2020-09-28T13:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables miss some values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45146#M10666</link>
      <description>&lt;P&gt;One thing to be careful is that you remember that join is case sensitive (for some reason).. &lt;/P&gt;

&lt;P&gt;It doesn't look like this is the case in your example data, but something to keep in mind. Check out this posting.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/47699/case-insensitive-join"&gt;http://answers.splunk.com/answers/47699/case-insensitive-join&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:56:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45146#M10666</guid>
      <dc:creator>troywollenslege</dc:creator>
      <dc:date>2014-03-06T15:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables miss some values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45147#M10667</link>
      <description>&lt;P&gt;Hi there &lt;BR /&gt;
Someone could complete what smolcj mentioned? I have the same problem with null fields.&lt;BR /&gt;
In your example, the result of the table is as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;no value some1 some2 some3
1  we     ddf   df   dfdf
2  this   sd    sf   sdfsd
3  that   sds   sds  sdfds
4  from                
4                      here
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Help me please!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 22:08:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45147#M10667</guid>
      <dc:creator>jrodriguezap</dc:creator>
      <dc:date>2014-08-27T22:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables miss some values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45148#M10668</link>
      <description>&lt;P&gt;join max=0&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 09:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/joining-tables-miss-some-values/m-p/45148#M10668</guid>
      <dc:creator>qk9962549</dc:creator>
      <dc:date>2018-05-08T09:21:13Z</dc:date>
    </item>
  </channel>
</rss>

