<?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: Compare result count in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297602#M3791</link>
    <description>&lt;P&gt;@cmerriman, No i dont have any and yes the one you mentioned is what i am looking for!&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2018 12:58:26 GMT</pubDate>
    <dc:creator>bharathkumarnec</dc:creator>
    <dc:date>2018-01-08T12:58:26Z</dc:date>
    <item>
      <title>Compare result count</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297600#M3789</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;

&lt;P&gt;I would like to compare the result count today with the count same date last month.&lt;/P&gt;

&lt;P&gt;Kindly let me know the best way to achieve this.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
BK&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 11:57:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297600#M3789</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2018-01-08T11:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compare result count</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297601#M3790</link>
      <description>&lt;P&gt;do you have any syntax worked out as so far? are you looking to compare the count from today (Jan 8, 2018) to the same day last month (Dec 8, 2017) or more month over month count?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:54:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297601#M3790</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-01-08T12:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare result count</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297602#M3791</link>
      <description>&lt;P&gt;@cmerriman, No i dont have any and yes the one you mentioned is what i am looking for!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297602#M3791</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2018-01-08T12:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compare result count</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297603#M3792</link>
      <description>&lt;P&gt;hey try this!&lt;/P&gt;

&lt;P&gt;you can use &lt;CODE&gt;timewrap&lt;/CODE&gt; command!&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/1645/"&gt;https://splunkbase.splunk.com/app/1645/&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=&amp;lt;your_index&amp;gt; | timechart count span=1d  | timewrap m | sort- _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Run this for &lt;CODE&gt;last two months&lt;/CODE&gt;!&lt;/P&gt;

&lt;P&gt;I hope this helps you!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 13:11:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297603#M3792</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-08T13:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compare result count</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297604#M3793</link>
      <description>&lt;P&gt;building off of this answer&lt;BR /&gt;
here is some documentation on timewrap:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.1/SearchReference/Timewrap"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.1/SearchReference/Timewrap&lt;/A&gt;&lt;BR /&gt;
Timewrap is an app in Splunkbase and was made into a Splunk function either in 6.5 or 6.6, I believe. So if you have an older version of Splunk, you may need to install &lt;A href="https://splunkbase.splunk.com/app/1645/"&gt;https://splunkbase.splunk.com/app/1645/&lt;/A&gt;&lt;BR /&gt;
if you want a comparison for percent change day over day, add this:&lt;BR /&gt;
&lt;CODE&gt;| rename 1month_before as last_month |eval perc_change=round(((latest_month - last_month)/abs(last_month))*100,2)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 13:36:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Compare-result-count/m-p/297604#M3793</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-01-08T13:36:31Z</dc:date>
    </item>
  </channel>
</rss>

