<?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 calculate changes over multiple column in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-changes-over-multiple-column/m-p/308373#M161040</link>
    <description>&lt;P&gt;you can use a streamstats command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|streamstats window=1 current=f values(*) as prev*|foreach TenGig* [eval diff_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;='&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'-prev&amp;lt;&amp;lt;MATCHSTR&amp;gt;&amp;gt;]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Foreach"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Foreach&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2017 14:37:02 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2017-05-23T14:37:02Z</dc:date>
    <item>
      <title>How to calculate changes over multiple column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-changes-over-multiple-column/m-p/308372#M161039</link>
      <description>&lt;P&gt;I have the following output from my base search:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2978iE86506740C9FF061/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;It shows accumulative value for each sampling time for each interface. Is there a good way to calculate the change for each sampling time for each interface and show the result in a similar table format?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 14:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-changes-over-multiple-column/m-p/308372#M161039</guid>
      <dc:creator>jgcsco</dc:creator>
      <dc:date>2017-05-23T14:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate changes over multiple column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-changes-over-multiple-column/m-p/308373#M161040</link>
      <description>&lt;P&gt;you can use a streamstats command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|streamstats window=1 current=f values(*) as prev*|foreach TenGig* [eval diff_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;='&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'-prev&amp;lt;&amp;lt;MATCHSTR&amp;gt;&amp;gt;]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Foreach"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Foreach&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 14:37:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-changes-over-multiple-column/m-p/308373#M161040</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-05-23T14:37:02Z</dc:date>
    </item>
  </channel>
</rss>

