<?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: Correlation Search question (Enterprise Security) in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158689#M641</link>
    <description>&lt;P&gt;Hi, thanks, I will try this in the morning and let you know the results!&lt;/P&gt;

&lt;P&gt;... I did try the upgrade to ES 3 but had a few issues so I had to rollback, but it's good to know that the correlation searches are more efficient in ES 3.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2014 00:05:18 GMT</pubDate>
    <dc:creator>echojacques</dc:creator>
    <dc:date>2014-02-20T00:05:18Z</dc:date>
    <item>
      <title>Correlation Search question (Enterprise Security)</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158687#M639</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;This is a correlation search included with Enterprise Security that detects and alerts for potential spyware activity:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| `src_dest_tracker("allowed")` | lookup local=true ip_spyware_lookup src OUTPUTNEW src_ip as src_spyware_ip,src_description,src_is_spyware | lookup local=true ip_spyware_lookup dest OUTPUTNEW dest_ip as dest_spyware_ip,dest_description,dest_is_spyware | search dest_is_spyware=true OR src_is_spyware=true | eval spyware_ip=if(dest_is_spyware=="true",dest_spyware_ip,spyware_ip) | eval spyware_ip=if(src_is_spyware=="true",src_spyware_ip,spyware_ip) | eval spyware_description=if(dest_is_spyware=="true",dest_description,spyware_description) | eval spyware_description=if(src_is_spyware=="true",src_description,spyware_description) | fields + sourcetype,src,dest,spyware_ip,spyware_description
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My question is, is there a way to tweak this search so that it only alerts when there are more than X number of events?  In other words, let me know when an IP address triggers this rule 5 times (within a 24 hour period).&lt;/P&gt;

&lt;P&gt;I thought it was as simple as adding: "| search count&amp;gt;5" to the end of the search string but it didn't work.&lt;/P&gt;

&lt;P&gt;Thanks for any tips!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2014 23:34:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158687#M639</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2014-02-19T23:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Search question (Enterprise Security)</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158688#M640</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;First and obligatory answer is upgrade, 3.0's version is much easier to read because of architectural improvements.... That said, I'd put &lt;CODE&gt;stats count(spyware_ip) as spyware_count by spyware_ip | search spyware_count&amp;gt;5&lt;/CODE&gt; at the end.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2014 23:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158688#M640</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2014-02-19T23:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Search question (Enterprise Security)</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158689#M641</link>
      <description>&lt;P&gt;Hi, thanks, I will try this in the morning and let you know the results!&lt;/P&gt;

&lt;P&gt;... I did try the upgrade to ES 3 but had a few issues so I had to rollback, but it's good to know that the correlation searches are more efficient in ES 3.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 00:05:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158689#M641</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2014-02-20T00:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Search question (Enterprise Security)</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158690#M642</link>
      <description>&lt;P&gt;This worked, thanks for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 21:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Search-question-Enterprise-Security/m-p/158690#M642</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2014-02-20T21:31:07Z</dc:date>
    </item>
  </channel>
</rss>

