<?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: Comparing data from two  log files and displaying results which are different . in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87129#M22279</link>
    <description>&lt;P&gt;Please help, badly in need of a solution&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2013 04:36:46 GMT</pubDate>
    <dc:creator>smolcj</dc:creator>
    <dc:date>2013-04-12T04:36:46Z</dc:date>
    <item>
      <title>Comparing data from two  log files and displaying results which are different .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87126#M22276</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
My need is to compare two log files of same pattern . sometimes the log files will be entirely different because they can be the files of two different instance or they can be from same instance at a different time , in that case other than few dynamic fields in the product all other fields will be same. i have been using a search for the result from a single file and using join command i tried to find the diff values for the search .&lt;BR /&gt;
please help me to find an efficient query for this need. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;  index=main  source=&lt;EM&gt;SUCCESS&lt;/EM&gt;&lt;BR /&gt;
    | transaction startswith="Source Summary" endswith="Load Summary"&lt;BR /&gt;
      | table summ_name&lt;BR /&gt;
    | mvexpand summ_name&lt;BR /&gt;
    | join summ_name[&lt;BR /&gt;
    search index=main source=&lt;EM&gt;SUCCESS&lt;/EM&gt;&lt;BR /&gt;
    | fields summ_name summ_instance  sum_out sum_affected sum_applied sum_rejected ]&lt;BR /&gt;
    |table summ_name summ_instance  sum_out sum_affected sum_applied sum_rejected&lt;BR /&gt;
    |rename summ_name as Source |rename  summ_instance  as File1&lt;BR /&gt;
    |join type=outer  Source [search index=main  source=&lt;EM&gt;FAIL&lt;/EM&gt;&lt;BR /&gt;
    | transaction startswith="Source Summary" endswith="Load Summary"&lt;BR /&gt;
    | table summ_name&lt;BR /&gt;
    | mvexpand summ_name&lt;BR /&gt;
    | join summ_name   [&lt;BR /&gt;
    search index=main source=&lt;EM&gt;FAIL&lt;/EM&gt; &lt;BR /&gt;
    | fields summ_name summ_instance  sum_out sum_affected sum_applied sum_rejected ]&lt;BR /&gt;
    |table summ_name summ_instance  sum_out sum_affected sum_applied sum_rejected&lt;BR /&gt;
    |rename summ_name as Source summ_name as summ_name1  sum_out as sum_out 1 sum_affected as        sum_affected 1 sum_applied  as sum_applied1  sum_rejected as sum_rejected1&lt;BR /&gt;
    |rename  summ_instance  as File2 ]&lt;BR /&gt;
    |where 'File1' != 'File2' ``&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;I am not able to provide a full outer join and display all the values from both the files&lt;/LI&gt;
&lt;LI&gt;if some fields are same and other fields are different then i want  diplay them in same row &lt;/LI&gt;
&lt;LI&gt;SUCCESS and FAIL are 2 different files&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;please help&lt;BR /&gt;
Thank You&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:41:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87126#M22276</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2020-09-28T13:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data from two  log files and displaying results which are different .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87127#M22277</link>
      <description>&lt;P&gt;Did you have a look at set diff?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 08:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87127#M22277</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-04-08T08:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data from two  log files and displaying results which are different .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87128#M22278</link>
      <description>&lt;P&gt;Ayn, i have tried set diff command, but i am not able to find something that can meet my second requirement &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
i.e if source field is same but if other fields are different i am not able to display the values from the second file .. how can i do that ? currently i am using sideview value setter and html modules to group those values under file1 and file2 but then i am facing the issue of full outer join ..&lt;BR /&gt;
please help ..&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 09:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87128#M22278</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2013-04-08T09:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data from two  log files and displaying results which are different .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87129#M22279</link>
      <description>&lt;P&gt;Please help, badly in need of a solution&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 04:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87129#M22279</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2013-04-12T04:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data from two  log files and displaying results which are different .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87130#M22280</link>
      <description>&lt;P&gt;If you're not getting help here (I can't offer any, sorry) and really need to solve this problem, consider having Splunk PS come help you.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 06:29:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87130#M22280</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-04-12T06:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data from two  log files and displaying results which are different .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87131#M22281</link>
      <description>&lt;P&gt;Thanks Ayn, but how can i seek help of a product specialist ?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 11:55:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87131#M22281</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2013-04-12T11:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data from two  log files and displaying results which are different .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87132#M22282</link>
      <description>&lt;P&gt;By PS I mean Professional Services - contact Splunk sales to discuss details.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 12:08:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87132#M22282</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-04-12T12:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data from two  log files and displaying results which are different .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87133#M22283</link>
      <description>&lt;P&gt;Hi Can  you please paste sample log entries for both files?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 09:26:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-data-from-two-log-files-and-displaying-results-which/m-p/87133#M22283</guid>
      <dc:creator>vj8210</dc:creator>
      <dc:date>2013-04-17T09:26:57Z</dc:date>
    </item>
  </channel>
</rss>

