<?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 Incomplete data returned after subsearch or join in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15812#M2003</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I found that when I use subsearch or join command to join data, &lt;/P&gt;

&lt;P&gt;I can't make splunk to return the complete result (comparing to the join result by ourselves)&lt;/P&gt;

&lt;P&gt;Can anyone help me about this? Thanks!&lt;/P&gt;

&lt;P&gt;Here is my test data:&lt;/P&gt;

&lt;P&gt;Input:&lt;/P&gt;

&lt;P&gt;ab_data(1000 rows, fields: fa, fb, timestamp): &lt;A href="http://paste.plurk.com/show/272467/" rel="nofollow"&gt;http://paste.plurk.com/show/272467/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;ac_data(1000 rows, fields: fa, fc, timestamp): &lt;A href="http://paste.plurk.com/show/272469/" rel="nofollow"&gt;http://paste.plurk.com/show/272469/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;reference join result (226 rows, join by field fa): &lt;A href="http://paste.plurk.com/show/272470/" rel="nofollow"&gt;http://paste.plurk.com/show/272470/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;My search command used:&lt;/P&gt;

&lt;P&gt;Subsearch (only 23 rows returned): index="test_join_ac" [ search index="test_join_ab" | fields fa ]&lt;/P&gt;

&lt;P&gt;Join (no matching result returned): index="test_join_ac" | join type=inner max=0 fa [ search index="test_join_ab" ]&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2010 17:47:17 GMT</pubDate>
    <dc:creator>kalitbri</dc:creator>
    <dc:date>2010-06-21T17:47:17Z</dc:date>
    <item>
      <title>Incomplete data returned after subsearch or join</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15812#M2003</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I found that when I use subsearch or join command to join data, &lt;/P&gt;

&lt;P&gt;I can't make splunk to return the complete result (comparing to the join result by ourselves)&lt;/P&gt;

&lt;P&gt;Can anyone help me about this? Thanks!&lt;/P&gt;

&lt;P&gt;Here is my test data:&lt;/P&gt;

&lt;P&gt;Input:&lt;/P&gt;

&lt;P&gt;ab_data(1000 rows, fields: fa, fb, timestamp): &lt;A href="http://paste.plurk.com/show/272467/" rel="nofollow"&gt;http://paste.plurk.com/show/272467/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;ac_data(1000 rows, fields: fa, fc, timestamp): &lt;A href="http://paste.plurk.com/show/272469/" rel="nofollow"&gt;http://paste.plurk.com/show/272469/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;reference join result (226 rows, join by field fa): &lt;A href="http://paste.plurk.com/show/272470/" rel="nofollow"&gt;http://paste.plurk.com/show/272470/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;My search command used:&lt;/P&gt;

&lt;P&gt;Subsearch (only 23 rows returned): index="test_join_ac" [ search index="test_join_ab" | fields fa ]&lt;/P&gt;

&lt;P&gt;Join (no matching result returned): index="test_join_ac" | join type=inner max=0 fa [ search index="test_join_ab" ]&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2010 17:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15812#M2003</guid>
      <dc:creator>kalitbri</dc:creator>
      <dc:date>2010-06-21T17:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete data returned after subsearch or join</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15813#M2004</link>
      <description>&lt;P&gt;If you wanna combine ab_data and ac_data into one. You should use transaction command indeed. &lt;/P&gt;

&lt;P&gt;index="test_join_ab" | transaction fields=fa&lt;/P&gt;

&lt;P&gt;Or you can refer to this site for more information about using SQL-like command in Splunk
&lt;A href="http://www.innovato.com/splunk/SQLSplunk.html" rel="nofollow"&gt;http://www.innovato.com/splunk/SQLSplunk.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2010 21:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15813#M2004</guid>
      <dc:creator>ppang</dc:creator>
      <dc:date>2010-06-24T21:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete data returned after subsearch or join</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15814#M2005</link>
      <description>&lt;P&gt;It doesn't work. After referring the manual about transaction command I can't see it can be used to correlate 2 different sets of data. Could you please give any more hints?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2010 09:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15814#M2005</guid>
      <dc:creator>kalitbri</dc:creator>
      <dc:date>2010-06-28T09:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete data returned after subsearch or join</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15815#M2006</link>
      <description>&lt;P&gt;try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=test_join_ac OR index=test_join_ab | stats first(fb) as fb first(fc) as fc min(_time) as _time by fa
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jun 2010 05:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-data-returned-after-subsearch-or-join/m-p/15815#M2006</guid>
      <dc:creator>steveyz</dc:creator>
      <dc:date>2010-06-30T05:49:29Z</dc:date>
    </item>
  </channel>
</rss>

