<?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 Perfmon iis stats aggregation in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-iis-stats-aggregation/m-p/77885#M15946</link>
    <description>&lt;P&gt;I've got the Universal Forwarder installed on all our web servers. Every 5 minutes they are posting "Total Bytes Sent" from the "Web Service" object. These are simple counters, so in order to get bandwidth information, I need to use the &lt;CODE&gt;delta&lt;/CODE&gt; command. That complicates things very quickly tho. &lt;/P&gt;

&lt;P&gt;We have 96 web servers broken into 24 farms of 4 each. I'd want to report on bandwidth stats per farm. I'm at a loss for how to mix and match &lt;CODE&gt;delta&lt;/CODE&gt;, &lt;CODE&gt;stats&lt;/CODE&gt;, &lt;CODE&gt;timechart&lt;/CODE&gt;, &lt;CODE&gt;bucket&lt;/CODE&gt; and friends into aggregating the deltas while separating them into the appropriate farms.&lt;/P&gt;

&lt;P&gt;Is it possible, or should I simply be running 24 different searches feeding into a summary index?&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2011 16:32:18 GMT</pubDate>
    <dc:creator>twinspop</dc:creator>
    <dc:date>2011-09-19T16:32:18Z</dc:date>
    <item>
      <title>Perfmon iis stats aggregation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-iis-stats-aggregation/m-p/77885#M15946</link>
      <description>&lt;P&gt;I've got the Universal Forwarder installed on all our web servers. Every 5 minutes they are posting "Total Bytes Sent" from the "Web Service" object. These are simple counters, so in order to get bandwidth information, I need to use the &lt;CODE&gt;delta&lt;/CODE&gt; command. That complicates things very quickly tho. &lt;/P&gt;

&lt;P&gt;We have 96 web servers broken into 24 farms of 4 each. I'd want to report on bandwidth stats per farm. I'm at a loss for how to mix and match &lt;CODE&gt;delta&lt;/CODE&gt;, &lt;CODE&gt;stats&lt;/CODE&gt;, &lt;CODE&gt;timechart&lt;/CODE&gt;, &lt;CODE&gt;bucket&lt;/CODE&gt; and friends into aggregating the deltas while separating them into the appropriate farms.&lt;/P&gt;

&lt;P&gt;Is it possible, or should I simply be running 24 different searches feeding into a summary index?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Perfmon-iis-stats-aggregation/m-p/77885#M15946</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2011-09-19T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon iis stats aggregation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-iis-stats-aggregation/m-p/77886#M15947</link>
      <description>&lt;P&gt;You should use &lt;CODE&gt;streamstats&lt;/CODE&gt; instead of &lt;CODE&gt;delta&lt;/CODE&gt;. &lt;CODE&gt;delta&lt;/CODE&gt; is a very simple command, but for the reasons you've discovered, it's unsuitable for larger scales of data sets.&lt;/P&gt;

&lt;P&gt;An example of using streamstats with incrementing counters is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| streamstats current=f global=f window=1
    last(Total_Bytes_Sent) as prev_Total_Bytes_Sent
    last(_time) as prev_time
  by host
| eval dt=_time-prev_time
| eval d_Bytes_Sent=Total_Bytes_Sent-prev_Total_Bytes_Sent
| eval bps=d_Bytes_Sent/dt
| ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can pipe this to more search commands (e.g. &lt;CODE&gt;| timechart avg(bps) by host&lt;/CODE&gt;, &lt;CODE&gt;stats max(bps) by host&lt;/CODE&gt;) by host and use &lt;CODE&gt;d_Bytes_Sent&lt;/CODE&gt; for other analysis. &lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2011 18:19:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Perfmon-iis-stats-aggregation/m-p/77886#M15947</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-09-19T18:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon iis stats aggregation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-iis-stats-aggregation/m-p/77887#M15948</link>
      <description>&lt;P&gt;I think this is getting me down the correct path, but as posted above it does not work. The prev_* values are identical to those in the current record. Setting current=f seems to be the fix. Now to omit the rolled over counters and other cruft.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 15:37:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Perfmon-iis-stats-aggregation/m-p/77887#M15948</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2011-09-20T15:37:17Z</dc:date>
    </item>
  </channel>
</rss>

