<?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: Getting count and averages in same search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Getting-count-and-averages-in-same-search/m-p/42245#M9853</link>
    <description>&lt;P&gt;if avgtime represents the average of some field like say response_time,  and if Page1.html and Page2.html are a field called filename,  then you're looking at a simple &lt;CODE&gt;stats&lt;/CODE&gt; clause of &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| stats count avg(response_time) by filename&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 May 2012 03:27:38 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2012-05-03T03:27:38Z</dc:date>
    <item>
      <title>Getting count and averages in same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-count-and-averages-in-same-search/m-p/42244#M9852</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I think this must be easy.. but I can't wrap my head around how to get this done...   I want to gather multiple stats for a single query.  Essentially, I want to gather the count and avg thruput for webpages from my iis logs...Essentially, something like this..&lt;/P&gt;

&lt;P&gt;Page1.html  count=10, avgtime=20&lt;/P&gt;

&lt;P&gt;Page2.html  count=17, avgtime=30&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 01:38:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-count-and-averages-in-same-search/m-p/42244#M9852</guid>
      <dc:creator>richnavis</dc:creator>
      <dc:date>2012-05-03T01:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting count and averages in same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-count-and-averages-in-same-search/m-p/42245#M9853</link>
      <description>&lt;P&gt;if avgtime represents the average of some field like say response_time,  and if Page1.html and Page2.html are a field called filename,  then you're looking at a simple &lt;CODE&gt;stats&lt;/CODE&gt; clause of &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| stats count avg(response_time) by filename&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 03:27:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-count-and-averages-in-same-search/m-p/42245#M9853</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-05-03T03:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting count and averages in same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-count-and-averages-in-same-search/m-p/42246#M9854</link>
      <description>&lt;P&gt;:)... Cannot believe that I couldn't see that.. Thanks nick!&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 13:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-count-and-averages-in-same-search/m-p/42246#M9854</guid>
      <dc:creator>richnavis</dc:creator>
      <dc:date>2012-05-03T13:29:13Z</dc:date>
    </item>
  </channel>
</rss>

