<?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 can I compare values from the same field at different timestamps? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-values-from-the-same-field-at-different/m-p/433993#M75826</link>
    <description>&lt;P&gt;Hi @slipinski,&lt;/P&gt;

&lt;P&gt;You could use &lt;CODE&gt;delta&lt;/CODE&gt; command if you want difference between continuous events&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;e.g. "your search"|delta GC  as diff | filnull value=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Used this to extract the field, &lt;CODE&gt;base search | rex field=_raw "^(?:[^ \n]* ){6}(?P&amp;lt;GC&amp;gt;\d+)" |table GC&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jul 2018 15:08:19 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2018-07-10T15:08:19Z</dc:date>
    <item>
      <title>How can I compare values from the same field at different timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-values-from-the-same-field-at-different/m-p/433992#M75825</link>
      <description>&lt;P&gt;I trying to create a graph which will be display difference beetwen values at different time. &lt;BR /&gt;
"2018-07-10 15:37:16,395  Mem: 683 MB  GC: 436  GCT: 11475 ms"&lt;BR /&gt;
2018-07-10 15:36:16,395   Mem: 625 MB  GC: 434  GCT: 11430 ms"&lt;BR /&gt;
"2018-07-10 15:35:16,395  Mem: 868 MB  GC: 431  GCT: 11365 ms"&lt;/P&gt;

&lt;P&gt;I would like to create  a graph with GC difeferences .i.e last minute=2, 2 minutes ago=3 and so on.&lt;BR /&gt;
Any advice?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Szymon&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 13:46:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-values-from-the-same-field-at-different/m-p/433992#M75825</guid>
      <dc:creator>slipinski</dc:creator>
      <dc:date>2018-07-10T13:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare values from the same field at different timestamps?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-values-from-the-same-field-at-different/m-p/433993#M75826</link>
      <description>&lt;P&gt;Hi @slipinski,&lt;/P&gt;

&lt;P&gt;You could use &lt;CODE&gt;delta&lt;/CODE&gt; command if you want difference between continuous events&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;e.g. "your search"|delta GC  as diff | filnull value=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Used this to extract the field, &lt;CODE&gt;base search | rex field=_raw "^(?:[^ \n]* ){6}(?P&amp;lt;GC&amp;gt;\d+)" |table GC&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:08:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-compare-values-from-the-same-field-at-different/m-p/433993#M75826</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-07-10T15:08:19Z</dc:date>
    </item>
  </channel>
</rss>

