<?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 graphing cumulative counters in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/graphing-cumulative-counters/m-p/32482#M178207</link>
    <description>&lt;P&gt;I have several counters reported to splunk which continually increment over time and are rarely if ever reset.  I would like to be able to graphs the deltas between each counter over a period of time.&lt;/P&gt;

&lt;P&gt;For instance, lets call one of the counters "LOGINS".  Over time LOGINS will continue to accumulate every time a user logs in.  I would like to be able to display a graph of the number of logins per hour over each day, and NOT each subsequently larger number of logins.  Which means that while my data looks like that data in the first graph, what I want to display is the second graph.  (See below)&lt;/P&gt;

&lt;P&gt;Can someone explain how this can be accomplished?&lt;/P&gt;

&lt;P&gt;Cumulative - How my data actually exists in splunk&lt;BR /&gt;
&lt;IMG src="http://harmonylogic.com/cum.png" alt="cumulative" /&gt;&lt;/P&gt;

&lt;P&gt;Non Cumulative - what I want to display &lt;BR /&gt;
&lt;IMG src="http://harmonylogic.com/non-cum.png" alt="non-cumulative" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2012 18:38:15 GMT</pubDate>
    <dc:creator>charleswheelus</dc:creator>
    <dc:date>2012-04-20T18:38:15Z</dc:date>
    <item>
      <title>graphing cumulative counters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graphing-cumulative-counters/m-p/32482#M178207</link>
      <description>&lt;P&gt;I have several counters reported to splunk which continually increment over time and are rarely if ever reset.  I would like to be able to graphs the deltas between each counter over a period of time.&lt;/P&gt;

&lt;P&gt;For instance, lets call one of the counters "LOGINS".  Over time LOGINS will continue to accumulate every time a user logs in.  I would like to be able to display a graph of the number of logins per hour over each day, and NOT each subsequently larger number of logins.  Which means that while my data looks like that data in the first graph, what I want to display is the second graph.  (See below)&lt;/P&gt;

&lt;P&gt;Can someone explain how this can be accomplished?&lt;/P&gt;

&lt;P&gt;Cumulative - How my data actually exists in splunk&lt;BR /&gt;
&lt;IMG src="http://harmonylogic.com/cum.png" alt="cumulative" /&gt;&lt;/P&gt;

&lt;P&gt;Non Cumulative - what I want to display &lt;BR /&gt;
&lt;IMG src="http://harmonylogic.com/non-cum.png" alt="non-cumulative" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 18:38:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graphing-cumulative-counters/m-p/32482#M178207</guid>
      <dc:creator>charleswheelus</dc:creator>
      <dc:date>2012-04-20T18:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: graphing cumulative counters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graphing-cumulative-counters/m-p/32483#M178208</link>
      <description>&lt;P&gt;Use the delta command: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Delta"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Delta&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It is applied in the order of events (that is, newest to oldest), so you will see negative deltas on an accumulated field, but you should be able to work out the graph you want from that data.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 19:04:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graphing-cumulative-counters/m-p/32483#M178208</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2012-04-20T19:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: graphing cumulative counters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graphing-cumulative-counters/m-p/32484#M178209</link>
      <description>&lt;P&gt;The delta command did work. I had to use the reverse command to get the chart ordered the way I wanted it. In the context of this problem the syntax I used was:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;LOGINS | reverse | table LOGINS | delta LOGINS AS logindelta&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I then selected the chart icon in the results tab.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2012 16:20:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graphing-cumulative-counters/m-p/32484#M178209</guid>
      <dc:creator>charleswheelus</dc:creator>
      <dc:date>2012-04-30T16:20:14Z</dc:date>
    </item>
  </channel>
</rss>

