<?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 How to display rate from field value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-rate-from-field-value/m-p/36925#M8217</link>
    <description>&lt;P&gt;Very new to this pipeline way of thinking, so apologies if this is trivial...&lt;/P&gt;

&lt;P&gt;I am logging every &lt;STRONG&gt;10&lt;/STRONG&gt; seconds the total number of &lt;STRONG&gt;X&lt;/STRONG&gt; which have been cached. So this is incremental: &lt;STRONG&gt;1, 2, 5, 8, 9, 15&lt;/STRONG&gt; etc. So each log message contains the following &lt;STRONG&gt;TotalCached=x&lt;/STRONG&gt; where &lt;STRONG&gt;x&lt;/STRONG&gt; is the number cached.&lt;/P&gt;

&lt;P&gt;Now I want to chart the &lt;STRONG&gt;rate&lt;/STRONG&gt; at which they are being cached. For the range of numbers above, I would like to see the values &lt;STRONG&gt;0, 1, 3, 3, 1, 6&lt;/STRONG&gt; on a &lt;STRONG&gt;timechart&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;I have been told to look at &lt;STRONG&gt;delta&lt;/STRONG&gt; and &lt;STRONG&gt;streamstats&lt;/STRONG&gt; to no avail.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;EDIT&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;This is close to what I want:&lt;BR /&gt;&lt;BR /&gt;
&lt;CODE&gt;source="..." FeedSource="PinnacleApi" SportId="Football" | delta TotalFixtures p=1 as fixDelta | timechart sum(fixDelta)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;However I'd like to take off the FeedSource and SportId, and have the timechart display results by FeedSource or SportId. When I do do this it makes some strange results! &lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2012 10:27:52 GMT</pubDate>
    <dc:creator>matthewcanty</dc:creator>
    <dc:date>2012-04-26T10:27:52Z</dc:date>
    <item>
      <title>How to display rate from field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-rate-from-field-value/m-p/36925#M8217</link>
      <description>&lt;P&gt;Very new to this pipeline way of thinking, so apologies if this is trivial...&lt;/P&gt;

&lt;P&gt;I am logging every &lt;STRONG&gt;10&lt;/STRONG&gt; seconds the total number of &lt;STRONG&gt;X&lt;/STRONG&gt; which have been cached. So this is incremental: &lt;STRONG&gt;1, 2, 5, 8, 9, 15&lt;/STRONG&gt; etc. So each log message contains the following &lt;STRONG&gt;TotalCached=x&lt;/STRONG&gt; where &lt;STRONG&gt;x&lt;/STRONG&gt; is the number cached.&lt;/P&gt;

&lt;P&gt;Now I want to chart the &lt;STRONG&gt;rate&lt;/STRONG&gt; at which they are being cached. For the range of numbers above, I would like to see the values &lt;STRONG&gt;0, 1, 3, 3, 1, 6&lt;/STRONG&gt; on a &lt;STRONG&gt;timechart&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;I have been told to look at &lt;STRONG&gt;delta&lt;/STRONG&gt; and &lt;STRONG&gt;streamstats&lt;/STRONG&gt; to no avail.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;EDIT&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;This is close to what I want:&lt;BR /&gt;&lt;BR /&gt;
&lt;CODE&gt;source="..." FeedSource="PinnacleApi" SportId="Football" | delta TotalFixtures p=1 as fixDelta | timechart sum(fixDelta)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;However I'd like to take off the FeedSource and SportId, and have the timechart display results by FeedSource or SportId. When I do do this it makes some strange results! &lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 10:27:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-rate-from-field-value/m-p/36925#M8217</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-04-26T10:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display rate from field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-rate-from-field-value/m-p/36926#M8218</link>
      <description>&lt;P&gt;Changed the way we are logging. Logged the rate instead of the total, then did per_second(X)&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 08:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-rate-from-field-value/m-p/36926#M8218</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-05-23T08:35:32Z</dc:date>
    </item>
  </channel>
</rss>

