<?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 How to join 2 different source tyoe using identity column? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-join-2-different-source-tyoe-using-identity-column/m-p/112221#M29471</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;We have 2 different sourcetype master and child need to join/append the source type on identity column master.id and child.mastertable_id. Please let us how can we display the result in search query using table format. &lt;/P&gt;

&lt;P&gt;sourcetype=master :&lt;BR /&gt;
 id(pk)|filename|status&lt;BR /&gt;
 123|test1.txt|S&lt;BR /&gt;
 124|test2.txt|F&lt;BR /&gt;
 125|test3.txt|S&lt;BR /&gt;
 126|test4.txt|F&lt;/P&gt;

&lt;P&gt;sourcetype=child :&lt;BR /&gt;
 id|mastertable_id(FK)|msg&lt;BR /&gt;
 221|124|connectivity issue&lt;BR /&gt;
 223|126|user aborted&lt;/P&gt;

&lt;P&gt;Final result should look like:&lt;BR /&gt;
 id|filename|status|childid|msg&lt;BR /&gt;
 123|test1.txt|S|NA|NA&lt;BR /&gt;
 124|test2.txt|F|221|connectivity issue&lt;BR /&gt;
 125|test3.txt|S|NA|NA&lt;BR /&gt;
 126|test4.txt|F|223|126|user aborted&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2015 03:19:18 GMT</pubDate>
    <dc:creator>muguniya</dc:creator>
    <dc:date>2015-07-10T03:19:18Z</dc:date>
    <item>
      <title>How to join 2 different source tyoe using identity column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-join-2-different-source-tyoe-using-identity-column/m-p/112221#M29471</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;We have 2 different sourcetype master and child need to join/append the source type on identity column master.id and child.mastertable_id. Please let us how can we display the result in search query using table format. &lt;/P&gt;

&lt;P&gt;sourcetype=master :&lt;BR /&gt;
 id(pk)|filename|status&lt;BR /&gt;
 123|test1.txt|S&lt;BR /&gt;
 124|test2.txt|F&lt;BR /&gt;
 125|test3.txt|S&lt;BR /&gt;
 126|test4.txt|F&lt;/P&gt;

&lt;P&gt;sourcetype=child :&lt;BR /&gt;
 id|mastertable_id(FK)|msg&lt;BR /&gt;
 221|124|connectivity issue&lt;BR /&gt;
 223|126|user aborted&lt;/P&gt;

&lt;P&gt;Final result should look like:&lt;BR /&gt;
 id|filename|status|childid|msg&lt;BR /&gt;
 123|test1.txt|S|NA|NA&lt;BR /&gt;
 124|test2.txt|F|221|connectivity issue&lt;BR /&gt;
 125|test3.txt|S|NA|NA&lt;BR /&gt;
 126|test4.txt|F|223|126|user aborted&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 03:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-join-2-different-source-tyoe-using-identity-column/m-p/112221#M29471</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2015-07-10T03:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to join 2 different source tyoe using identity column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-join-2-different-source-tyoe-using-identity-column/m-p/112222#M29472</link>
      <description>&lt;P&gt;What with this?&lt;/P&gt;

&lt;P&gt;(your search)|rename id as childid|rename mastertable_id(FK) as id|rename id(pk) as id|stats max(filename) as filename,max(status) as status,max(childid) as childid,max(msg) as msg by id&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 05:48:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-join-2-different-source-tyoe-using-identity-column/m-p/112222#M29472</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2015-07-10T05:48:07Z</dc:date>
    </item>
  </channel>
</rss>

