<?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: How to subtract Field values from incremental values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164055#M46615</link>
    <description>&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;sourcetype=sescache host=tstypwsl01 | eval sescache_number = tonumber(sescache_hit)  |reverse |  table Bytes | delta Bytes p=1&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/46124/graphing-cumulative-counters.html" target="_blank"&gt;http://answers.splunk.com/answers/46124/graphing-cumulative-counters.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 20:20:31 GMT</pubDate>
    <dc:creator>vinitatsky</dc:creator>
    <dc:date>2020-09-28T20:20:31Z</dc:date>
    <item>
      <title>How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164037#M46597</link>
      <description>&lt;P&gt;This log is updated every 5 minutes (I have included three examples of the logs). The value is cumulative. So, while graphing it in Splunk, I have to deduct the previous value to get the value for that 5 minute interval. I have created 6 fields. So for example lets take one field, pdweb.sescache hit has the following three values of 26965624, 27089514, and 27622280.&lt;/P&gt;

&lt;P&gt;Taking 27622280-27089514 = 532766 (this is the actual value I want for that 5 minute interval.&lt;/P&gt;

&lt;P&gt;pdweb.sescache hit= &lt;BR /&gt;
pdweb.sescache miss=&lt;BR /&gt;
pdweb.sescache add=&lt;BR /&gt;
pdweb.sescache del=&lt;BR /&gt;
pdweb.sescache inactive=&lt;BR /&gt;
pdweb.sescache lifetime=&lt;/P&gt;

&lt;P&gt;2015-06-22-11:30:00.000-08:00I----- HPDRA0387I pdweb.sescache statistics report&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache hit : 26965624&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache miss : 1199911&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache add : 767440&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache del : 461681&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache inactive : 307444&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache lifetime : 305720&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache LRU expired : 0&lt;/P&gt;

&lt;P&gt;2015-06-22-11:30:00.000-08:00I----- HPDRA0387I pdweb.sescache statistics report&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache hit : 27089514&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache miss : 1187065&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache add : 757928&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache del : 466608&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache inactive : 292919&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache lifetime : 291094&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache LRU expired : 0&lt;/P&gt;

&lt;P&gt;2015-06-22-11:30:00.000-08:00I----- HPDRA0387I pdweb.sescache statistics report&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache hit : 27622280&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache miss : 1205104&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache add : 806893&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache del : 491966&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache inactive : 316631&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache lifetime : 314759&lt;BR /&gt;
2015-06-22-11:30:00.000-08:00I----- pdweb.sescache LRU expired : 0&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:16:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164037#M46597</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2015-06-22T19:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164038#M46598</link>
      <description>&lt;P&gt;Have you tried the delta command? &lt;/P&gt;

&lt;P&gt;Ref: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/Delta"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/Delta&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2015 23:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164038#M46598</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2015-06-22T23:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164039#M46599</link>
      <description>&lt;P&gt;From the way your question is worded, I'm wondering if it is maybe a multivalued field?&lt;/P&gt;

&lt;H4&gt;if so...&lt;/H4&gt;

&lt;P&gt;You could use the &lt;CODE&gt;mvindex&lt;/CODE&gt; function of the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/CommonEvalFunctions"&gt;eval&lt;/A&gt; command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval delta = tonumber(mvindex('pdweb.sescache hit', -1)) - tonumber(mvindex('pdweb.sescache hit', 0))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This looks for the last value (index at -1) of the multi valued field and subtracts the first (index at 0).&lt;BR /&gt;
As for doing it for multiple fields, maybe something along the lines of:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| foreach pdweb.sescache* 
        [ eval delta_&amp;lt;&amp;lt;MATCHSTR&amp;gt;&amp;gt; = tonumber(mvindex(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;, -1)) - tonumber(mvindex(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;, 0)) ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jun 2015 02:44:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164039#M46599</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-06-23T02:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164040#M46600</link>
      <description>&lt;P&gt;so this is my search:&lt;/P&gt;

&lt;P&gt;sourcetype=sescache  | eval delta = mvindex('sescache_hit', -1) - mvindex('sescache_hit', 0)&lt;/P&gt;

&lt;P&gt;Error in 'eval' command: Typechecking failed. '-' only takes numbers.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:21:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164040#M46600</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2020-09-28T20:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164041#M46601</link>
      <description>&lt;P&gt;Oops, forgot the tonumber function. Edited my answer.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 05:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164041#M46601</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-06-23T05:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164042#M46602</link>
      <description>&lt;P&gt;sourcetype=sescache | eval delta = tonumber(mvindex('sescache_hit', -1)) - tonumber(mvindex('sescache_hit', 0))&lt;/P&gt;

&lt;P&gt;Field= sescache_hit&lt;BR /&gt;
Here are 5-5 min logs &lt;BR /&gt;
2015-06-22-22:25:00.000-08:00I----- pdweb.sescache hit   : 27793603&lt;/P&gt;

&lt;P&gt;2015-06-22-22:25:00.000-08:00I----- pdweb.sescache hit   : 28313182&lt;/P&gt;

&lt;P&gt;2015-06-22-22:25:00.000-08:00I----- pdweb.sescache hit   : 27661866&lt;/P&gt;

&lt;P&gt;2015-06-22-22:25:00.000-08:00I----- pdweb.sescache hit   : 26611428&lt;/P&gt;

&lt;P&gt;2015-06-22-22:20:00.000-08:00I----- pdweb.sescache hit   : 28309095&lt;/P&gt;

&lt;P&gt;this creates the field "delta" which has the only value 0&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:21:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164042#M46602</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2020-09-28T20:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164043#M46603</link>
      <description>&lt;P&gt;doing this search:&lt;/P&gt;

&lt;P&gt;sourcetype=sescache | foreach sescache* &lt;BR /&gt;
         [ eval delta_&amp;lt;&lt;MATCHSTR&gt;&amp;gt; = tonumber(mvindex(&amp;lt;&lt;FIELD&gt;&amp;gt;, -1)) - tonumber(mvindex(&amp;lt;&lt;FIELD&gt;&amp;gt;, 0)) ]&lt;/FIELD&gt;&lt;/FIELD&gt;&lt;/MATCHSTR&gt;&lt;/P&gt;

&lt;P&gt;I have the following fields all with the same value 0&lt;/P&gt;

&lt;P&gt;delta_hit= &lt;BR /&gt;
delta_miss=&lt;BR /&gt;
delta_add=&lt;BR /&gt;
delta_del=&lt;BR /&gt;
delta_inactive=&lt;BR /&gt;
delta_lifetime=&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:21:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164043#M46603</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2020-09-28T20:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164044#M46604</link>
      <description>&lt;P&gt;sourcetype=sescache | eval sescache_number = tonumber(pdweb.sescache hit) | delta sescache_number p=1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:20:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164044#M46604</guid>
      <dc:creator>vinitatsky</dc:creator>
      <dc:date>2020-09-28T20:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164045#M46605</link>
      <description>&lt;P&gt;If logs are already sorted by _time (Descending order), then try this search and hopefully it should work.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 12:39:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164045#M46605</guid>
      <dc:creator>vinitatsky</dc:creator>
      <dc:date>2015-06-23T12:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164046#M46606</link>
      <description>&lt;P&gt;This wont work because the &lt;CODE&gt;foreach&lt;/CODE&gt; command requires &lt;CODE&gt;&amp;lt;&amp;gt;&lt;/CODE&gt; or &lt;CODE&gt;&amp;lt;&amp;gt;&lt;/CODE&gt; not &lt;CODE&gt;&amp;lt;&amp;gt;&lt;/CODE&gt;. &lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164046#M46606</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-06-23T13:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164047#M46607</link>
      <description>&lt;P&gt;All of this was assuming, that it was a multivalued field. If they're all separate events, this wont work. You said you had one field with three values and then all the examples you had in the original question had the exact same timestamp, so I thought that they were all part of the same event ?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164047#M46607</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-06-23T13:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164048#M46608</link>
      <description>&lt;P&gt;my bad, each are separate events with a 5 minute interval&lt;/P&gt;

&lt;P&gt;2015-06-23-07:20:00.000-08:00I----- pdweb.sescache hit   : 27989324&lt;/P&gt;

&lt;P&gt;2015-06-23-07:15:00.000-08:00I----- pdweb.sescache hit   : 27983667&lt;/P&gt;

&lt;P&gt;015-06-23-07:10:00.000-08:00I----- pdweb.sescache hit    : 27979265&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:26:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164048#M46608</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2015-06-23T14:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164049#M46609</link>
      <description>&lt;P&gt;sourcetype=sescache | eval sescache_number = tonumber(pdweb.sescache hit) | delta sescache_number p=1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:20:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164049#M46609</guid>
      <dc:creator>vinitatsky</dc:creator>
      <dc:date>2020-09-28T20:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164050#M46610</link>
      <description>&lt;P&gt;So for &lt;STRONG&gt;every&lt;/STRONG&gt; event you need the delta from the previous event ? The answer above on delta should work then ? &lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164050#M46610</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-06-23T14:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164051#M46611</link>
      <description>&lt;P&gt;yes...sorry for the confusion......subtract earliest from the latest....example:&lt;/P&gt;

&lt;P&gt;lets take the last two events time stamp 7:20 &amp;amp; 7:15&lt;BR /&gt;
2015-06-23-07:20:00.000-08:00I----- pdweb.sescache hit : 27989324&lt;/P&gt;

&lt;P&gt;2015-06-23-07:15:00.000-08:00I----- pdweb.sescache hit : 27983667&lt;/P&gt;

&lt;P&gt;so I need to subtract 27989324- 279983667 which would be my true value =  5657....&lt;/P&gt;

&lt;P&gt;this comes in as a 5 minute interval....&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:45:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164051#M46611</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2015-06-23T14:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164052#M46612</link>
      <description>&lt;P&gt;sourcetype=sescache host=myhost | eval sescache_number = tonumber(sescache_hit) | delta sescache_number p=1&lt;/P&gt;

&lt;P&gt;2015-06-23-07:55:00.000-08:00I----- pdweb.sescache hit   : 28026932&lt;/P&gt;

&lt;P&gt;2015-06-23-07:50:00.000-08:00I----- pdweb.sescache hit   : 28020721&lt;/P&gt;

&lt;P&gt;With this search Im getting a delta (sescache_number)= -6211&lt;/P&gt;

&lt;P&gt;Is there a way to get this in reverse.....I need to subtract the top number (latest event) from the bottom one and the value should be 6211&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:20:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164052#M46612</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2020-09-28T20:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164053#M46613</link>
      <description>&lt;P&gt;I need to subtract the top number (latest event) from the bottom one and the value should be 6211.&lt;/P&gt;

&lt;P&gt;In your example - top number i.e. latest value is 28026932 and bottom one is  28020721.&lt;BR /&gt;
subtract top number from the bottom one means , 28020721 - 28026932 = -6211 (minus value).&lt;/P&gt;

&lt;P&gt;I guess, you want it other way ( subtract bottom number from the top one), to get an positive value?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:20:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164053#M46613</guid>
      <dc:creator>vinitatsky</dc:creator>
      <dc:date>2015-06-23T15:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164054#M46614</link>
      <description>&lt;P&gt;yes looking to get the positive number....&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:23:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164054#M46614</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2015-06-23T15:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164055#M46615</link>
      <description>&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;sourcetype=sescache host=tstypwsl01 | eval sescache_number = tonumber(sescache_hit)  |reverse |  table Bytes | delta Bytes p=1&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/46124/graphing-cumulative-counters.html" target="_blank"&gt;http://answers.splunk.com/answers/46124/graphing-cumulative-counters.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:20:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164055#M46615</guid>
      <dc:creator>vinitatsky</dc:creator>
      <dc:date>2020-09-28T20:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to subtract Field values from incremental values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164056#M46616</link>
      <description>&lt;P&gt;Thank you.....you got me to the right path:&lt;/P&gt;

&lt;P&gt;sourcetype=sescache host=myhost   | eval sescache_hit_diff = tonumber(sescache_hit) | reverse  | delta sescache_hit_diff p=1| timechart avg("delta(sescache_hit_diff)")&lt;/P&gt;

&lt;P&gt;Im able to chart out the average for the difference between the earliest &amp;amp; latest values!!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:20:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-subtract-Field-values-from-incremental-values/m-p/164056#M46616</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2020-09-28T20:20:34Z</dc:date>
    </item>
  </channel>
</rss>

