<?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: Need search help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-search-help/m-p/348956#M103303</link>
    <description>&lt;P&gt;Give this a try. This query will return result if the count value is lower than the 5 percentile value of the count.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=apache* useragent=* 
| stats count as TotalCount by _time, useragent
| eventstats avg(TotalCount) AS AvgCount, perc5(TotalCount) as perc5Count
| where count &amp;lt; perc5Count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Mar 2017 20:44:24 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-03-08T20:44:24Z</dc:date>
    <item>
      <title>Need search help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-search-help/m-p/348955#M103302</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I have a search that timecharts useragent count by useragent. Simply&lt;BR /&gt;
    index=apache useragent=* | timechart count by useragent limit=100&lt;/P&gt;

&lt;P&gt;what I would like to do is overlay a lower boundary so if the count in part of this span is lower than the boundary send an alert.&lt;BR /&gt;
I tried this several different ways.&lt;/P&gt;

&lt;P&gt;This was my last attempt:&lt;BR /&gt;
index=apache* useragent=*  | stats count as TotalCount, avg(TotalCount) AS AvgCount, perc5(TotalCount) by _time, useragent&lt;/P&gt;

&lt;P&gt;Unfortunately I only get a TotalCount and nothing more.&lt;BR /&gt;
Any ideas?&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:13:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-search-help/m-p/348955#M103302</guid>
      <dc:creator>tkwaller</dc:creator>
      <dc:date>2017-03-08T20:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need search help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-search-help/m-p/348956#M103303</link>
      <description>&lt;P&gt;Give this a try. This query will return result if the count value is lower than the 5 percentile value of the count.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=apache* useragent=* 
| stats count as TotalCount by _time, useragent
| eventstats avg(TotalCount) AS AvgCount, perc5(TotalCount) as perc5Count
| where count &amp;lt; perc5Count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:44:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-search-help/m-p/348956#M103303</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-03-08T20:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need search help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-search-help/m-p/348957#M103304</link>
      <description>&lt;P&gt;Haha was just gettign there myself:&lt;BR /&gt;
index=apache* useragent=* | timechart count by useragent | eventstats perc5(count) as Lower by useragent &lt;/P&gt;

&lt;P&gt;was close at least.&lt;BR /&gt;
Small changes&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:48:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-search-help/m-p/348957#M103304</guid>
      <dc:creator>tkwaller</dc:creator>
      <dc:date>2017-03-08T20:48:04Z</dc:date>
    </item>
  </channel>
</rss>

