<?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 search for users that accessed the same system more than 5 times in 10 minutes and alert on this? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255558#M76531</link>
    <description>&lt;P&gt;If your search is working, here's the documentation for creating an alert&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Definescheduledalerts"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Definescheduledalerts&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2016 21:23:41 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-05-26T21:23:41Z</dc:date>
    <item>
      <title>How to search for users that accessed the same system more than 5 times in 10 minutes and alert on this?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255555#M76528</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I'm trying to search for users that access the SAME system more than 5 times in 10 minutes, in order to identify any abused usage of the system. I'm hoping to create an alert for such an event.&lt;/P&gt;

&lt;P&gt;Currently, I've come up with this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| stats dc(System_ID) count by userID | where count&amp;gt;5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I'm not sure if it's correct and how to search within the 10 minute time frame. Please help me out. I'm quite new to Splunk Enterprise. &lt;/P&gt;

&lt;P&gt;Thank you very much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 03:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255555#M76528</guid>
      <dc:creator>qiaojing</dc:creator>
      <dc:date>2016-05-17T03:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for users that accessed the same system more than 5 times in 10 minutes and alert on this?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255556#M76529</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.... | bin span=10m _time as time | stats dc(userID) as NoAttempts by time System_ID | where NoAttempts&amp;gt;=5
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 May 2016 12:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255556#M76529</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-05-17T12:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for users that accessed the same system more than 5 times in 10 minutes and alert on this?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255557#M76530</link>
      <description>&lt;P&gt;Hi this is my latest code where the threshold is the 95th percentile. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype="centralizedlog"(hasAccess=Y) | bin span=20m _time | stats dc(System_ID) count by userID, _time| eventstats perc95(count) as adnorm | where count&amp;gt;adnorm | rename count as "Num of Log Events"| fields - adnorm - dc(System_ID)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone knows how I can scheduled an alert that alerts me each time such event occurs? Thank you. &lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 08:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255557#M76530</guid>
      <dc:creator>qiaojing</dc:creator>
      <dc:date>2016-05-24T08:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for users that accessed the same system more than 5 times in 10 minutes and alert on this?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255558#M76531</link>
      <description>&lt;P&gt;If your search is working, here's the documentation for creating an alert&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Definescheduledalerts"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Definescheduledalerts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 21:23:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-users-that-accessed-the-same-system-more-than/m-p/255558#M76531</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-05-26T21:23:41Z</dc:date>
    </item>
  </channel>
</rss>

