<?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: Graph of rolling totals in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392646#M114208</link>
    <description>&lt;P&gt;@andrewbeak do you want to create a chart from a table drilldown? What do you mean by &lt;CODE&gt;for three months from the current row _time&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;Also do you want previous three months or one month as per you sample data?&lt;/P&gt;

&lt;P&gt;Earliest Time in the Time Picker will &lt;CODE&gt;-1mon@d&lt;/CODE&gt; or &lt;CODE&gt;-3mon@d&lt;/CODE&gt; based on last month or last 3 months as needed.&lt;/P&gt;

&lt;P&gt;For creating weekly stats you can refer to one of my previous answers and adjust as per your needs: &lt;A href="https://answers.splunk.com/answers/637244/time-range-to-display-count-of-weekly.html"&gt;https://answers.splunk.com/answers/637244/time-range-to-display-count-of-weekly.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 May 2018 11:08:14 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-05-16T11:08:14Z</dc:date>
    <item>
      <title>Graph of rolling totals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392645#M114207</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to create a graph that shows calculated values by time.&lt;/P&gt;

&lt;P&gt;Each value must be calculated as the number of unique users visiting the site for the three months prior to that date.&lt;/P&gt;

&lt;P&gt;In order to try and limit the amount of work required I want to only show one value per week.&lt;/P&gt;

&lt;P&gt;So the value for 1 May 2018 must be the number of unique users from 1 Feb to 1 May 2018.  The value for 14 May must be the number of users from 14 Feb to 14 May.&lt;/P&gt;

&lt;P&gt;I'm pretty sure that I need to use "eval", but I'm struggling to work out how to "eval the distinct count of user.id for three months from the current row _time"&lt;/P&gt;

&lt;P&gt;Any ideas how to accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 09:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392645#M114207</guid>
      <dc:creator>andrewbeak</dc:creator>
      <dc:date>2018-05-16T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Graph of rolling totals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392646#M114208</link>
      <description>&lt;P&gt;@andrewbeak do you want to create a chart from a table drilldown? What do you mean by &lt;CODE&gt;for three months from the current row _time&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;Also do you want previous three months or one month as per you sample data?&lt;/P&gt;

&lt;P&gt;Earliest Time in the Time Picker will &lt;CODE&gt;-1mon@d&lt;/CODE&gt; or &lt;CODE&gt;-3mon@d&lt;/CODE&gt; based on last month or last 3 months as needed.&lt;/P&gt;

&lt;P&gt;For creating weekly stats you can refer to one of my previous answers and adjust as per your needs: &lt;A href="https://answers.splunk.com/answers/637244/time-range-to-display-count-of-weekly.html"&gt;https://answers.splunk.com/answers/637244/time-range-to-display-count-of-weekly.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 11:08:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392646#M114208</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-16T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Graph of rolling totals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392647#M114209</link>
      <description>&lt;P&gt;I understood it like he wants to have a weekly rolling dc(user.id) over the last 3 months, so the time ranges always overlap. And if that's the case, I'd really go with a summary index, having a weekly search over the last 3 months. Easy to use, and depending on the amount of data a hell of lot faster to display in the end, when you just pull the precalculated results for each week.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 11:13:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392647#M114209</guid>
      <dc:creator>knielsen</dc:creator>
      <dc:date>2018-05-16T11:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Graph of rolling totals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392648#M114210</link>
      <description>&lt;P&gt;Thanks, that is what I am trying to do.  I hadn't considered a summary index but that's a really good idea and I'll try to include that.&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 10:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Graph-of-rolling-totals/m-p/392648#M114210</guid>
      <dc:creator>andrewbeak</dc:creator>
      <dc:date>2018-05-17T10:51:13Z</dc:date>
    </item>
  </channel>
</rss>

