<?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 can I compare the results of the same search by a particular date or day of the week/month? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205837#M59864</link>
    <description>&lt;P&gt;Hi rck,&lt;/P&gt;

&lt;P&gt;Try to run this if you want to get the specific data for the particular date;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="rum" u=*|streamstats count,avg(t_done),max(t_done),min(t_done) by u|timechart span=w max(t_done)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will displays you data for each week.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2016 09:27:04 GMT</pubDate>
    <dc:creator>ngatchasandra</dc:creator>
    <dc:date>2016-02-17T09:27:04Z</dc:date>
    <item>
      <title>How can I compare the results of the same search by a particular date or day of the week/month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205834#M59861</link>
      <description>&lt;P&gt;How can I compare the result by a particular week or date for this search?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="rum" u=* |stats count,avg(t_done),max(t_done),min(t_done)  by u|sort - max(t_done)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Feb 2016 06:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205834#M59861</guid>
      <dc:creator>rck</dc:creator>
      <dc:date>2016-02-17T06:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare the results of the same search by a particular date or day of the week/month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205835#M59862</link>
      <description>&lt;P&gt;If you just want to list it based on dates , then use &lt;CODE&gt;timechart&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="rum" u=* |timechart span=1d count,avg(t_done),max(t_done),min(t_done) by u
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="rum" u=* |bucket span=1d _time|stats count,avg(t_done),max(t_done),min(t_done) by u,_time|sort - max(t_done)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Feb 2016 08:25:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205835#M59862</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-02-17T08:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare the results of the same search by a particular date or day of the week/month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205836#M59863</link>
      <description>&lt;P&gt;how can i get the specific data for the particular date&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:17:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205836#M59863</guid>
      <dc:creator>rck</dc:creator>
      <dc:date>2016-02-17T09:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare the results of the same search by a particular date or day of the week/month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205837#M59864</link>
      <description>&lt;P&gt;Hi rck,&lt;/P&gt;

&lt;P&gt;Try to run this if you want to get the specific data for the particular date;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="rum" u=*|streamstats count,avg(t_done),max(t_done),min(t_done) by u|timechart span=w max(t_done)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will displays you data for each week.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:27:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205837#M59864</guid>
      <dc:creator>ngatchasandra</dc:creator>
      <dc:date>2016-02-17T09:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare the results of the same search by a particular date or day of the week/month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205838#M59865</link>
      <description>&lt;P&gt;You can set the timerange or adjust the earliest and latest fields to your required date&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205838#M59865</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-02-17T09:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare the results of the same search by a particular date or day of the week/month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205839#M59866</link>
      <description>&lt;P&gt;i just want to retrieve the data for the date 11/02/1016,12/02/1016,13/02/1016.how can i specify this.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:33:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205839#M59866</guid>
      <dc:creator>rck</dc:creator>
      <dc:date>2016-02-17T09:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare the results of the same search by a particular date or day of the week/month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205840#M59867</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
try this search code just add for example earliest=-3d@d latest=-0d@d&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="rum" u=* earliest=-3d@d latest=-0d@d|stats count,avg(t_done),max(t_done),min(t_done) by u|sort - max(t_done) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-compare-the-results-of-the-same-search-by-a-particular/m-p/205840#M59867</guid>
      <dc:creator>chimell</dc:creator>
      <dc:date>2016-02-17T09:52:01Z</dc:date>
    </item>
  </channel>
</rss>

