<?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 results from two different dates in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309704#M163560</link>
    <description>&lt;P&gt;Answered my own question:&lt;/P&gt;

&lt;P&gt;| timechart span=1d count by EventCode&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2018 17:39:08 GMT</pubDate>
    <dc:creator>matthew_foos</dc:creator>
    <dc:date>2018-01-17T17:39:08Z</dc:date>
    <item>
      <title>Comparing results from two different dates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309703#M163559</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;Search string:&lt;BR /&gt;
index=blahblah host=blahblah&lt;BR /&gt;
| fields host, EventCode&lt;BR /&gt;
| stats count by host, EventCode&lt;BR /&gt;
| sort - count&lt;BR /&gt;
| where count &amp;gt; 200&lt;/P&gt;

&lt;P&gt;I'm trying to compare the results of this search for the following dates in one report:&lt;BR /&gt;
1-4-2018 and 1-5-2018&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 17:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309703#M163559</guid>
      <dc:creator>matthew_foos</dc:creator>
      <dc:date>2018-01-17T17:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing results from two different dates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309704#M163560</link>
      <description>&lt;P&gt;Answered my own question:&lt;/P&gt;

&lt;P&gt;| timechart span=1d count by EventCode&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 17:39:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309704#M163560</guid>
      <dc:creator>matthew_foos</dc:creator>
      <dc:date>2018-01-17T17:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing results from two different dates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309705#M163561</link>
      <description>&lt;P&gt;you can try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|multisearch [search index=blahblah host=blahblah earliest=1515004200 latest=1515090600 | eval date="1/4/2018"] [search index=blahblah host=blahblah earliest=1515090600 latest=1515177000 | eval date="1/5/2018"] | fields host, EventCode
| stats count by host, EventCode date
| sort - count
| where count &amp;gt; 200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blahblah host=blahblah earliest=1515004200 latest=1515177000 | bin _time span=1d
| fields host, EventCode
| stats count by host, EventCode _time
| sort - count
| where count &amp;gt; 200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps !&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 18:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309705#M163561</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-17T18:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing results from two different dates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309706#M163562</link>
      <description>&lt;P&gt;@matthew.foos if your problem is resolved, please accept an answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 18:49:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-results-from-two-different-dates/m-p/309706#M163562</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-01-17T18:49:38Z</dc:date>
    </item>
  </channel>
</rss>

