<?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 set of data from different times in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Compare-set-of-data-from-different-times/m-p/92612#M182371</link>
    <description>&lt;P&gt;The easiest way to do this is by bucketing your _time field and then charting over it. Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=summary search_name="capture app response time" | bucket _time span=1w | chart avg(time_taken) over _time by orig_source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should produce a nice table with weekly averages. Run this over a month period and it should show what you are looking for. &lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2011 12:43:49 GMT</pubDate>
    <dc:creator>RicoSuave</dc:creator>
    <dc:date>2011-10-17T12:43:49Z</dc:date>
    <item>
      <title>Compare set of data from different times</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Compare-set-of-data-from-different-times/m-p/92611#M182370</link>
      <description>&lt;P&gt;I have the following query to capture the application response time, and put it in summary index&lt;BR /&gt;
source=iislog app="abc" | sistats avg(time_taken) count by source&lt;BR /&gt;
index=summary search_name="capture app response time" | timechart span=1d avg(time_taken) by orig_source.  &lt;/P&gt;

&lt;P&gt;I would like to create a report that i can compare the response time for this week, last week and 4 weeks ago in the same report.  How can i do that?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:59:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Compare-set-of-data-from-different-times/m-p/92611#M182370</guid>
      <dc:creator>karche</dc:creator>
      <dc:date>2020-09-28T09:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compare set of data from different times</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Compare-set-of-data-from-different-times/m-p/92612#M182371</link>
      <description>&lt;P&gt;The easiest way to do this is by bucketing your _time field and then charting over it. Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=summary search_name="capture app response time" | bucket _time span=1w | chart avg(time_taken) over _time by orig_source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should produce a nice table with weekly averages. Run this over a month period and it should show what you are looking for. &lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Compare-set-of-data-from-different-times/m-p/92612#M182371</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-10-17T12:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compare set of data from different times</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Compare-set-of-data-from-different-times/m-p/92613#M182372</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Comparing week-over-week results used to a pain in Splunk, with complex date calculations. No more.  Now there is a better way.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I wrote a convenient search command called "&lt;A href="http://apps.splunk.com/app/1645/"&gt;timewrap&lt;/A&gt;" that does it all, for arbitrary time periods.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | timechart count span=1h | timewrap w
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That's it!&lt;/P&gt;

&lt;P&gt;&lt;A href="http://apps.splunk.com/app/1645/"&gt;http://apps.splunk.com/app/1645/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2013 21:28:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Compare-set-of-data-from-different-times/m-p/92613#M182372</guid>
      <dc:creator>carasso</dc:creator>
      <dc:date>2013-12-06T21:28:42Z</dc:date>
    </item>
  </channel>
</rss>

