<?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: Find rate from total in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Find-rate-from-total/m-p/35893#M7922</link>
    <description>&lt;P&gt;Sorry I'm very new to these operations. How can I use this on a field value eg TotalNumbers=16 and chart it?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2012 09:27:32 GMT</pubDate>
    <dc:creator>matthewcanty</dc:creator>
    <dc:date>2012-04-26T09:27:32Z</dc:date>
    <item>
      <title>Find rate from total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-rate-from-total/m-p/35891#M7920</link>
      <description>&lt;P&gt;I want to take a totals field. And display the rate on a chart.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;For example:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Total = 0, 1, 2, 3, 4, 5, 6, 7, 9, 10&lt;/P&gt;

&lt;P&gt;Rate = 0, 1, 1, 1, 1, 1, 1, 1, 2, 1.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                              __
        _____________________/  \__   
   ____/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Take that as a rough guide anyway. I have looked through List(X) to see all my values which works, but I cannot figure out how you subtract the Last(X) value from the 'LastMinusOne(X)' value...&lt;/P&gt;

&lt;P&gt;Thanks - and sorry for the crude graph &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 16:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-rate-from-total/m-p/35891#M7920</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-04-25T16:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find rate from total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-rate-from-total/m-p/35892#M7921</link>
      <description>&lt;P&gt;I think the &lt;CODE&gt;delta&lt;/CODE&gt; command is what you're looking for:&lt;/P&gt;

&lt;P&gt;&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;PRE&gt;&lt;CODE&gt;  ... | delta total as rate | eval rate=coalesce(rate,0)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Apr 2012 17:31:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-rate-from-total/m-p/35892#M7921</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-04-25T17:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find rate from total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Find-rate-from-total/m-p/35893#M7922</link>
      <description>&lt;P&gt;Sorry I'm very new to these operations. How can I use this on a field value eg TotalNumbers=16 and chart it?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 09:27:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Find-rate-from-total/m-p/35893#M7922</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-04-26T09:27:32Z</dc:date>
    </item>
  </channel>
</rss>

