<?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 does the  JOIN or single TRANSACTION work in same log file having multiple source types when we don't have a unique key or referential key? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-does-the-JOIN-or-single-TRANSACTION-work-in-same-log-file/m-p/59633#M11769</link>
    <description>&lt;P&gt;JOIN and TRANSACTION both require at least one field to correlate events.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;About the same log file : The JOIN uses a sub search so it could use the same results than the main search.&lt;/LI&gt;
&lt;LI&gt;is the excel example the actual log file ?&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 11 Dec 2012 16:00:16 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2012-12-11T16:00:16Z</dc:date>
    <item>
      <title>How does the  JOIN or single TRANSACTION work in same log file having multiple source types when we don't have a unique key or referential key?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-the-JOIN-or-single-TRANSACTION-work-in-same-log-file/m-p/59632#M11768</link>
      <description>&lt;P&gt;Pleas Check Sample Data and Query&lt;/P&gt;

&lt;P&gt;&lt;A href="http://paste2.org/p/2589888"&gt;link text&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 13:52:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-the-JOIN-or-single-TRANSACTION-work-in-same-log-file/m-p/59632#M11768</guid>
      <dc:creator>Aakanksha</dc:creator>
      <dc:date>2012-12-11T13:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How does the  JOIN or single TRANSACTION work in same log file having multiple source types when we don't have a unique key or referential key?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-the-JOIN-or-single-TRANSACTION-work-in-same-log-file/m-p/59633#M11769</link>
      <description>&lt;P&gt;JOIN and TRANSACTION both require at least one field to correlate events.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;About the same log file : The JOIN uses a sub search so it could use the same results than the main search.&lt;/LI&gt;
&lt;LI&gt;is the excel example the actual log file ?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 11 Dec 2012 16:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-the-JOIN-or-single-TRANSACTION-work-in-same-log-file/m-p/59633#M11769</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-11T16:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: How does the  JOIN or single TRANSACTION work in same log file having multiple source types when we don't have a unique key or referential key?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-the-JOIN-or-single-TRANSACTION-work-in-same-log-file/m-p/59634#M11770</link>
      <description>&lt;P&gt;For calculations, we used the below approach:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;((A/((SUM(A,B,H)-SUM(D,C,G,E,F)))100))&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;In Splunk:&lt;/P&gt;

&lt;P&gt;sourcetype=source1 | join date,time [search sourcetype=source3] | eval add1 = A +B+ H|join date,time [search sourcetype=source2] | eval add2=C+D |join date,time [search sourcetype=source3] |eval add3 =G+E|eval add4 = F+add3|eval sub = add1 - add4 |eval div = A/sub |eval final-result = div*100&lt;/P&gt;

&lt;P&gt;By using “join” function here, we were able to get column names of all three source types and use eval on them. But the join does not consider all the possible combinations.&lt;BR /&gt;
SHEET contains sample data.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 07:06:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-the-JOIN-or-single-TRANSACTION-work-in-same-log-file/m-p/59634#M11770</guid>
      <dc:creator>Aakanksha</dc:creator>
      <dc:date>2012-12-12T07:06:34Z</dc:date>
    </item>
  </channel>
</rss>

