<?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 filter out a Windows Event Code if the event from a user repeats over a period of time? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259971#M49907</link>
    <description>&lt;P&gt;No; blacklist is all-or-none.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2015 12:51:14 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-10-14T12:51:14Z</dc:date>
    <item>
      <title>How to filter out a Windows Event Code if the event from a user repeats over a period of time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259966#M49902</link>
      <description>&lt;P&gt;I want to capture Windows Event Logs EventCode 4673 when it happens once for each user over a period of one hour.  If a single user generates this Event Code 100 times in one hour I would like to record it only once in Splunk.  &lt;/P&gt;

&lt;P&gt;If this is not doable, can I remove the payload &lt;CODE&gt;suppress_text = 1&lt;/CODE&gt; for this event only and not for all Windows Security Events?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 19:16:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259966#M49902</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2015-10-06T19:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out a Windows Event Code if the event from a user repeats over a period of time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259967#M49903</link>
      <description>&lt;P&gt;I can't think of any way to inherently accomplish that.  Typically that kind of logic would get applied at search time.  But if that's not an option for you, then maybe just blacklist that event id (see blog post below).  And then you could probably script something to accomplish your goal for that event id.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.splunk.com/2013/10/14/windows-event-logs-in-splunk-6/"&gt;Event Logs in Splunk 6&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 23:58:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259967#M49903</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2015-10-06T23:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out a Windows Event Code if the event from a user repeats over a period of time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259968#M49904</link>
      <description>&lt;P&gt;Assuming that you have a field called &lt;CODE&gt;user&lt;/CODE&gt;, you can do it at search-time with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | dedup EventCode user ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However I do not know of any way to do it at index-time.  Also, you cannot selectively suppress_text; it applies to the entire stanza (which can selectively apply to EventCodes by using whitelist and blacklist).  Also you can only use a specific &lt;CODE&gt;WinEventLog&lt;/CODE&gt; stanza header once; if you duplicate any, only the last one in the file will be used (all others ignored).  If you really need to re-use a stanza header, you will have to stand up multiple Splunk instances on your forwarder so each has a different configuration.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259968#M49904</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-07T13:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out a Windows Event Code if the event from a user repeats over a period of time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259969#M49905</link>
      <description>&lt;P&gt;Hi @woodcock, Thanks for your suggestion and comment.  The requierment is to reduce index on this event without eliminating it.  I think I can add more than one blacklist item for the WinEventLog stanza so If i wanted to blacklist with regex or "EventCode=" I could just use blacklist1= blacklist2= etc.  This would alow me to filter out all events for the EventCode at index time.  I waas hopeing to get some but filter out most.&lt;/P&gt;

&lt;P&gt;Thanks again for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 12:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259969#M49905</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2015-10-14T12:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out a Windows Event Code if the event from a user repeats over a period of time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259970#M49906</link>
      <description>&lt;P&gt;@maciep thanks for the link to the blog.  I read it and it was very helpful in understanding how to set up the UF for filtering out events before index.&lt;/P&gt;

&lt;P&gt;Unfortunately this will not meet the requirement.  I will look into scripting something to do the filtering. &lt;/P&gt;

&lt;P&gt;Thanks much for the suggestion.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 12:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259970#M49906</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2015-10-14T12:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out a Windows Event Code if the event from a user repeats over a period of time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259971#M49907</link>
      <description>&lt;P&gt;No; blacklist is all-or-none.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 12:51:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-a-Windows-Event-Code-if-the-event-from-a-user/m-p/259971#M49907</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-14T12:51:14Z</dc:date>
    </item>
  </channel>
</rss>

