<?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: Detect events with sequential values in Security</title>
    <link>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134699#M4119</link>
    <description>&lt;P&gt;You could increase the window and use values() instead. Something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | streamstats global=f window=5 list(documentId) as docids by user | where mvindex(docids,0)-mvindex(docids,1)=1 AND mvindex(docids,1)-mvindex(docids,2)=1 AND ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Sep 2014 13:01:33 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2014-09-23T13:01:33Z</dc:date>
    <item>
      <title>Detect events with sequential values</title>
      <link>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134696#M4116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to discover if a public URL is being misused by analsying the access logs. Basically, the URL contains a base string and an ID number (integer). We would like to see if someone is trying to download more data than we would like by guessing the ID number. Something like this should trigger an alert:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/content/documents/10241
/content/documents/10242
/content/documents/10243
/content/documents/10244
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We know the user and the ID is extracted as a field called documentId&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:46:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134696#M4116</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2014-09-22T11:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Detect events with sequential values</title>
      <link>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134697#M4117</link>
      <description>&lt;P&gt;You could do this with streamstats.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | streamstats global=f window=2 latest(documentId) as nextdocid, earliest(documentid) as thisdocid by user | where nextdocid-thisdocid=1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Sep 2014 12:04:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134697#M4117</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-09-22T12:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Detect events with sequential values</title>
      <link>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134698#M4118</link>
      <description>&lt;P&gt;Hi, yes that is an interesting idea. Thanks for that. The problem I see with that is it would only check for a sequence of two documentIds, which would give me what I think of as a false positive. I would like to detect it when someone is trying at least five or so URLs in a short period. Probably even more.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 12:04:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134698#M4118</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2014-09-23T12:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Detect events with sequential values</title>
      <link>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134699#M4119</link>
      <description>&lt;P&gt;You could increase the window and use values() instead. Something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | streamstats global=f window=5 list(documentId) as docids by user | where mvindex(docids,0)-mvindex(docids,1)=1 AND mvindex(docids,1)-mvindex(docids,2)=1 AND ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Sep 2014 13:01:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134699#M4119</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-09-23T13:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Detect events with sequential values</title>
      <link>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134700#M4120</link>
      <description>&lt;P&gt;That actually seems like a good option. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 14:48:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Detect-events-with-sequential-values/m-p/134700#M4120</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2014-09-23T14:48:58Z</dc:date>
    </item>
  </channel>
</rss>

