<?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: Splunk Alert not behaving as expected in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Splunk-Alert-not-behaving-as-expected/m-p/378875#M11587</link>
    <description>&lt;P&gt;Hi @brewster88,&lt;/P&gt;

&lt;P&gt;This is the requests per minute greater than 180 because the bucket command will split your time into chunks of 1minute. When you aggregate it with stats it stays at 1 minute.&lt;/P&gt;

&lt;P&gt;if you want to make it over the entire hour then you can run this search hourly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index AND site= AND act=REQ_CHALLENGE_CAPTCHA AND action=blocked AND url=/account/login" AND UserAgent="iPhone"  | stats count(site) as requests by site, Client_Type,src , UserAgent | where requests &amp;gt; 180
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 09:17:24 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2019-05-20T09:17:24Z</dc:date>
    <item>
      <title>Splunk Alert not behaving as expected</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-Alert-not-behaving-as-expected/m-p/378874#M11586</link>
      <description>&lt;P&gt;Morning Guys,&lt;/P&gt;

&lt;P&gt;Hope everyone is well, I have setup a custom alert in Splunk that runs once an hour and looks at the past hour of activity.&lt;/P&gt;

&lt;P&gt;index=&lt;STRONG&gt;&lt;EM&gt;index&lt;/EM&gt;&lt;/STRONG&gt; AND site=********  AND act=REQ_CHALLENGE_CAPTCHA AND action=blocked AND url=*******&lt;EM&gt;/account/login" AND UserAgent="*iPhone&lt;/EM&gt;" | bucket span=1m _time | stats count(site) as requests by _time, site, Client_Type,src , UserAgent | where requests &amp;gt; 180&lt;/P&gt;

&lt;P&gt;Where I have defined the 180 - is this requests per minute? or where 180 requests has been breached over the past hour of activity?&lt;/P&gt;

&lt;P&gt;Guess I just need a little help in understanding exactly what I have setup here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-Alert-not-behaving-as-expected/m-p/378874#M11586</guid>
      <dc:creator>brewster88</dc:creator>
      <dc:date>2020-09-30T00:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Alert not behaving as expected</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-Alert-not-behaving-as-expected/m-p/378875#M11587</link>
      <description>&lt;P&gt;Hi @brewster88,&lt;/P&gt;

&lt;P&gt;This is the requests per minute greater than 180 because the bucket command will split your time into chunks of 1minute. When you aggregate it with stats it stays at 1 minute.&lt;/P&gt;

&lt;P&gt;if you want to make it over the entire hour then you can run this search hourly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index AND site= AND act=REQ_CHALLENGE_CAPTCHA AND action=blocked AND url=/account/login" AND UserAgent="iPhone"  | stats count(site) as requests by site, Client_Type,src , UserAgent | where requests &amp;gt; 180
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 09:17:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-Alert-not-behaving-as-expected/m-p/378875#M11587</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-05-20T09:17:24Z</dc:date>
    </item>
  </channel>
</rss>

