<?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: Help with a query in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Help-with-a-query/m-p/523032#M9355</link>
    <description>&lt;P&gt;It's impossible to estimate how many notable events any search will produce without knowing the data being searched.&amp;nbsp; In this example, the number of notable events to expect is roughly equal to the number of malware events reported by CheckPoint.&lt;/P&gt;&lt;P&gt;The test query is failing in part because the &lt;FONT face="courier new,courier"&gt;gentimes&lt;/FONT&gt; command does not generate the fields expected by the search.&amp;nbsp; It is also failing because the &lt;FONT face="courier new,courier"&gt;map&lt;/FONT&gt; command does not include the &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; option.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2020 16:42:54 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-10-05T16:42:54Z</dc:date>
    <item>
      <title>Help with a query</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Help-with-a-query/m-p/523019#M9354</link>
      <description>&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this query&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=checkpoint sourcetype=opsec:anti_virus OR sourcetype=opsec:anti_malware Protection_Name=* NOT action=blocked NOT te_action=block | stats count dc(Protection_Name),values(Protection_Type),values(Destination_DNS_Hostname),values(te_action),values(malware_action),values(file_name),values(file_md5),values(dest),values(Protection_Name) by src | `map_notable_fields` | rename values(Protection_Type) as \"Protection_Type\",values(Destination_DNS_Hostname) as \"Name_Resolved\",values(te_action) as Action,values(malware_action) as \"Malicious_Intent\",values(file_name) as \"File_Name\",values(file_md5) as \"File_Hash\",values(dest) as Dest,src as Source,values(Protection_Name) as \"Protection_Names\",dc(Protection_Name) as \"Infection_Count\"| where Infection_Count&amp;gt;1 | table \"Infection_Count\",Source,\"Protection_Names\",\"Protection_Type\",Dest,\"Name_Resolved\",\"File_Name\",\"File_Hash\",\"Malicious_Intent\",Action"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i know how much notable events i will get historical by hour?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I mean not a query over the last 2 hours, but a query&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;every&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;2 hours for the last month. In other words, if they run the rule every 2 hours, how many notables per day should they expect?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to do that but its not working:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|gentimes start=-20 end=0 increment=1d | map maxsearches=90 index=checkpoint sourcetype=opsec:anti_virus OR sourcetype=opsec:anti_malware Protection_Name=* NOT action=blocked NOT te_action=block | stats count dc(Protection_Name),values(Protection_Type),values(Destination_DNS_Hostname),values(te_action),values(malware_action),values(file_name),values(file_md5),values(dest),values(Protection_Name) by src | `map_notable_fields` | rename values(Protection_Type) as \"Protection_Type\",values(Destination_DNS_Hostname) as \"Name_Resolved\",values(te_action) as Action,values(malware_action) as \"Malicious_Intent\",values(file_name) as \"File_Name\",values(file_md5) as \"File_Hash\",values(dest) as Dest,src as Source,values(Protection_Name) as \"Protection_Names\",dc(Protection_Name) as \"Infection_Count\"| where Infection_Count&amp;gt;1 | table \"Infection_Count\",Source,\"Protection_Names\",\"Protection_Type\",Dest,\"Name_Resolved\",\"File_Name\",\"File_Hash\",\"Malicious_Intent\",Action&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 15:10:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Help-with-a-query/m-p/523019#M9354</guid>
      <dc:creator>havatz</dc:creator>
      <dc:date>2020-10-05T15:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a query</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Help-with-a-query/m-p/523032#M9355</link>
      <description>&lt;P&gt;It's impossible to estimate how many notable events any search will produce without knowing the data being searched.&amp;nbsp; In this example, the number of notable events to expect is roughly equal to the number of malware events reported by CheckPoint.&lt;/P&gt;&lt;P&gt;The test query is failing in part because the &lt;FONT face="courier new,courier"&gt;gentimes&lt;/FONT&gt; command does not generate the fields expected by the search.&amp;nbsp; It is also failing because the &lt;FONT face="courier new,courier"&gt;map&lt;/FONT&gt; command does not include the &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; option.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 16:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Help-with-a-query/m-p/523032#M9355</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-05T16:42:54Z</dc:date>
    </item>
  </channel>
</rss>

