<?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: How to create an alert when more than 10 events have appeared in one hour? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426308#M7426</link>
    <description>&lt;P&gt;It has no name, they differ by the IP, the field of the camera is IPCamara&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2019 17:08:33 GMT</pubDate>
    <dc:creator>josedgaravito</dc:creator>
    <dc:date>2019-06-14T17:08:33Z</dc:date>
    <item>
      <title>How to create an alert when more than 10 events have appeared in one hour?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426304#M7422</link>
      <description>&lt;P&gt;Hi, splunkers.&lt;/P&gt;

&lt;P&gt;I need to generate an alert when more than 10 events related to the same camera are generated in 1 hour. I have tried with count and other commands but it has not been possible.&lt;/P&gt;

&lt;P&gt;the examples of events are: &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;[2019-06-03 01:22:40]&lt;/STRONG&gt; Cámara CAM004: La cámara esta presentando problemas  {"Workstation":"192.168.10.2","Camara":"172.16.8.12","estadoSeñal":"Camera Connection Status(Lost)"}.&lt;/P&gt;

&lt;P&gt;When a camera fails, they are presented around 20 events in a time range of one hour. &lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 16:01:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426304#M7422</guid>
      <dc:creator>josedgaravito</dc:creator>
      <dc:date>2019-06-14T16:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert when more than 10 events have appeared in one hour?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426305#M7423</link>
      <description>&lt;P&gt;Hola @josedgaravito,&lt;/P&gt;

&lt;P&gt;I see what you want to do, have a look here, should be a very similar solution :&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/751158/how-to-find-out-falied-login-attemptseventcode4625-1.html#answer-751164"&gt;https://answers.splunk.com/answers/751158/how-to-find-out-falied-login-attemptseventcode4625-1.html#answer-751164&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Your query should be something like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  yourBaseSearch
 | bin _time span=1h 
 | stats count by cameraID,_time
 | where count &amp;gt; 10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if you need more help.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 16:18:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426305#M7423</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-14T16:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert when more than 10 events have appeared in one hour?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426306#M7424</link>
      <description>&lt;P&gt;@josedgaravito What is the field name for Camera, do you need to extract the fields or are they already extracted? How does your search query look.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 16:20:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426306#M7424</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-06-14T16:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert when more than 10 events have appeared in one hour?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426307#M7425</link>
      <description>&lt;P&gt;Hi @josedgaravito ,&lt;/P&gt;

&lt;P&gt;You could try this as well:&lt;BR /&gt;
&lt;PRE&gt; ... [ your base search ] ... earliest=-1h&lt;BR /&gt;
| rex "Cámara (?&amp;lt;camara&amp;gt;[^:]+):"&lt;BR /&gt;
| stats count by camara&lt;BR /&gt;
| where count &amp;gt; 10&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;This should show results for camara having more than 10 events in the time frame specified.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 16:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426307#M7425</guid>
      <dc:creator>jnudell_2</dc:creator>
      <dc:date>2019-06-14T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert when more than 10 events have appeared in one hour?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426308#M7426</link>
      <description>&lt;P&gt;It has no name, they differ by the IP, the field of the camera is IPCamara&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 17:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426308#M7426</guid>
      <dc:creator>josedgaravito</dc:creator>
      <dc:date>2019-06-14T17:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an alert when more than 10 events have appeared in one hour?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426309#M7427</link>
      <description>&lt;P&gt;@josedgaravito &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt;|bin _time span=1h | stats count by IPCamera _time| where count &amp;gt; 10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Jun 2019 17:21:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-an-alert-when-more-than-10-events-have-appeared-in/m-p/426309#M7427</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-06-14T17:21:42Z</dc:date>
    </item>
  </channel>
</rss>

