<?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 Count doesn't show? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265045#M79660</link>
    <description>&lt;P&gt;Give this a try.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-4d index=wls OR index=main "ServletRequestImpl.java:2768" OR "rest path:/rest spec-version:2.5]] Servlet failed with Exception"| bucket span=1d _time |stats count  by _time host | stats sum(count) as count avg(count) as avg by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Replace avg with trend line for other requirement.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Sep 2016 03:05:20 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-09-03T03:05:20Z</dc:date>
    <item>
      <title>Average Count doesn't show?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265041#M79656</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have this query  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-4d index=wls OR index=main "ServletRequestImpl.java:2768" OR "rest path:/rest spec-version:2.5]] Servlet failed with Exception"|stats count avg(count) by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And the results look like this&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/1803i55711E967D887843/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;The count shows but no average count.... what am I missing?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2016 02:24:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265041#M79656</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-09-03T02:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Average Count doesn't show?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265042#M79657</link>
      <description>&lt;P&gt;You can't use avg(count) as the field count is not available before stats. What you want to show in avg count?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2016 02:37:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265042#M79657</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-03T02:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Average Count doesn't show?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265043#M79658</link>
      <description>&lt;P&gt;the average by day for each host&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2016 02:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265043#M79658</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-09-03T02:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average Count doesn't show?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265044#M79659</link>
      <description>&lt;P&gt;I'm guessing the same applies for Trendline?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-45d index=wls OR index=main "ServletRequestImpl.java:2768" OR "rest path:/rest spec-version:2.5]] Servlet failed with Exception"|timechart  span=1d count by host| trendline sma2(count) as Trend
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On this query I get the same count by host but no trendline&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2016 02:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265044#M79659</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-09-03T02:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Average Count doesn't show?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265045#M79660</link>
      <description>&lt;P&gt;Give this a try.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-4d index=wls OR index=main "ServletRequestImpl.java:2768" OR "rest path:/rest spec-version:2.5]] Servlet failed with Exception"| bucket span=1d _time |stats count  by _time host | stats sum(count) as count avg(count) as avg by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Replace avg with trend line for other requirement.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2016 03:05:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265045#M79660</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-03T03:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Average Count doesn't show?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265046#M79661</link>
      <description>&lt;P&gt;Thanks somesoni2!!!  Worked great!!!&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2016 03:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Count-doesn-t-show/m-p/265046#M79661</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-09-03T03:08:44Z</dc:date>
    </item>
  </channel>
</rss>

