<?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 How do you use timewarp in specific? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-timewarp-in-specific/m-p/572908#M199665</link>
    <description>&lt;P&gt;Let's say I have this query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = x 
|stats count as Total, sum(AMMOUNT) as TAmmount BY MERCHANT, SUBMERCHANT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a comparison by percentage between this month to the average of TOTAL three month ago. How do you go about using timewarp to&amp;nbsp; archive that goal?&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 02:43:33 GMT</pubDate>
    <dc:creator>phamxuantung</dc:creator>
    <dc:date>2021-10-29T02:43:33Z</dc:date>
    <item>
      <title>How do you use timewarp in specific?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-timewarp-in-specific/m-p/572908#M199665</link>
      <description>&lt;P&gt;Let's say I have this query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = x 
|stats count as Total, sum(AMMOUNT) as TAmmount BY MERCHANT, SUBMERCHANT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a comparison by percentage between this month to the average of TOTAL three month ago. How do you go about using timewarp to&amp;nbsp; archive that goal?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 02:43:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-timewarp-in-specific/m-p/572908#M199665</guid>
      <dc:creator>phamxuantung</dc:creator>
      <dc:date>2021-10-29T02:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use timewarp in specific?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-timewarp-in-specific/m-p/572912#M199668</link>
      <description>&lt;P&gt;For timewrap you need results of timechart.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 04:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-timewarp-in-specific/m-p/572912#M199668</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-10-29T04:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use timewarp in specific?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-timewarp-in-specific/m-p/572944#M199689</link>
      <description>&lt;P&gt;You can adapt this.&amp;nbsp; I don't have months of data on my laptop.&amp;nbsp; So I've produced a chart with 2 lines.&amp;nbsp; One line is the last minute of activity (count of events per second), the other line is the average activity based on the 4 minutes before that.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd component=Metrics earliest=-5min@min latest=@min
| timechart span=1s count
| eval latestMinute=if(_time&amp;gt;=relative_time(now(),"-1m@m"),"LatestMinute","Average"), sec=strftime(_time,"%S")
| chart avg(count) over sec by latestMinute&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 Oct 2021 12:33:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-timewarp-in-specific/m-p/572944#M199689</guid>
      <dc:creator>tread_splunk</dc:creator>
      <dc:date>2021-10-29T12:33:47Z</dc:date>
    </item>
  </channel>
</rss>

