<?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: Average command vs count and average command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Average-command-vs-count-and-average-command/m-p/370263#M109048</link>
    <description>&lt;P&gt;Can you provide a link to an example of that? The way you quoted it here it doesn’t make too much sense to me...&lt;/P&gt;</description>
    <pubDate>Sun, 29 Apr 2018 07:26:55 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-04-29T07:26:55Z</dc:date>
    <item>
      <title>Average command vs count and average command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-command-vs-count-and-average-command/m-p/370262#M109047</link>
      <description>&lt;P&gt;Maybe im just bad in mathematics. but why does splunk docs always take the count of events  and then the avg of events &lt;CODE&gt;(stats count(events) | stats avg(events) instead of stats avg events&lt;/CODE&gt; directly?&lt;/P&gt;

&lt;P&gt;can someone please explain the logic to me?&lt;/P&gt;</description>
      <pubDate>Sun, 29 Apr 2018 06:40:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-command-vs-count-and-average-command/m-p/370262#M109047</guid>
      <dc:creator>ranjitbrhm1</dc:creator>
      <dc:date>2018-04-29T06:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Average command vs count and average command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-command-vs-count-and-average-command/m-p/370263#M109048</link>
      <description>&lt;P&gt;Can you provide a link to an example of that? The way you quoted it here it doesn’t make too much sense to me...&lt;/P&gt;</description>
      <pubDate>Sun, 29 Apr 2018 07:26:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-command-vs-count-and-average-command/m-p/370263#M109048</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-29T07:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Average command vs count and average command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-command-vs-count-and-average-command/m-p/370264#M109049</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;The avg function applie to number field &lt;CODE&gt;avg(event)&lt;/CODE&gt; the event is number, you can apply avg directly to the field that have the number value without use stats count, and when you use &lt;CODE&gt;| stats count | stats avg&lt;/CODE&gt; the avg look only to the result give by &lt;CODE&gt;stats count&lt;/CODE&gt;&lt;BR /&gt;
For example: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; stats count as a by field | stats avg(a) 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;can you share the link of docs please&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sun, 29 Apr 2018 08:47:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-command-vs-count-and-average-command/m-p/370264#M109049</guid>
      <dc:creator>TISKAR</dc:creator>
      <dc:date>2018-04-29T08:47:19Z</dc:date>
    </item>
  </channel>
</rss>

