<?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: Trying to drop Windows Events at the Indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33744#M6051</link>
    <description>&lt;P&gt;we do it like this on our bunny farm:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/system/local:&lt;BR /&gt;
Props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [WinEventLog:Security]
 TRANSFORMS = null, keep
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[keep]
REGEX = .
DEST_KEY = queue
FORMAT = indexQueue

[null]
REGEX=EventCode=(4957|5154|5156|5158)
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 23 Apr 2012 23:06:57 GMT</pubDate>
    <dc:creator>Chubbybunny</dc:creator>
    <dc:date>2012-04-23T23:06:57Z</dc:date>
    <item>
      <title>Trying to drop Windows Events at the Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33743#M6050</link>
      <description>&lt;P&gt;I am attempting to drop WinEventLog:Security EventCode's at the Indexer and I am not having any success.  I have read a few SplunkBase questions concerning this very topic and attempted to follow the instructions with little success.  This is what I have so far.&lt;/P&gt;

&lt;P&gt;Props.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-set = dropevents&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Transforms.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[dropevents]&lt;BR /&gt;
REGEX = (?m)^EventCode=(4957|5154|5156|5158)&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Any ideas what I am doing wrong here?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2012 20:58:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33743#M6050</guid>
      <dc:creator>rmcdougal</dc:creator>
      <dc:date>2012-04-23T20:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to drop Windows Events at the Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33744#M6051</link>
      <description>&lt;P&gt;we do it like this on our bunny farm:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/system/local:&lt;BR /&gt;
Props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [WinEventLog:Security]
 TRANSFORMS = null, keep
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[keep]
REGEX = .
DEST_KEY = queue
FORMAT = indexQueue

[null]
REGEX=EventCode=(4957|5154|5156|5158)
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Apr 2012 23:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33744#M6051</guid>
      <dc:creator>Chubbybunny</dc:creator>
      <dc:date>2012-04-23T23:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to drop Windows Events at the Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33745#M6052</link>
      <description>&lt;P&gt;Vote the Chubby bunny up if it helps!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(\__/)
(='.'=)
(")_(")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Apr 2012 23:18:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33745#M6052</guid>
      <dc:creator>Chubbybunny</dc:creator>
      <dc:date>2012-04-23T23:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to drop Windows Events at the Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33746#M6053</link>
      <description>&lt;P&gt;I appreciate the help, but for some reason this still isn't working for me.  This is what I have on my box currently but is still isn't dropping anything.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-set= setnull,setparsing&lt;BR /&gt;
&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = EventCode=(4957|5154|5156|5158)&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;BR /&gt;
&lt;/P&gt;

&lt;P&gt;Here is a sample event&lt;/P&gt;

&lt;P&gt;&lt;A href="http://i.imgur.com/FmxeK.png"&gt;http://i.imgur.com/FmxeK.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 14:02:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33746#M6053</guid>
      <dc:creator>rmcdougal</dc:creator>
      <dc:date>2012-04-24T14:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to drop Windows Events at the Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33747#M6054</link>
      <description>&lt;P&gt;The location of the props.conf or transforms.conf matters.  If this is a Universal Forwarder (UF), the rules which would trigger for placing these events in the nullQueue aren't processed there.  You'll need these rules on the indexer(s) instead.  By contrast, if the forwarder is "heavy" (i.e. a full Splunk forwarding its log data elsewhere), the props / transforms have to be on that forwarder itself.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 14:38:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33747#M6054</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-04-24T14:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to drop Windows Events at the Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33748#M6055</link>
      <description>&lt;P&gt;Interestingly enough, even if I do this&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS = setnull&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It doesn't drop anything.  It has to be something with the sourcetype having a colon in it I imagine.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 14:38:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-drop-Windows-Events-at-the-Indexer/m-p/33748#M6055</guid>
      <dc:creator>rmcdougal</dc:creator>
      <dc:date>2012-04-24T14:38:26Z</dc:date>
    </item>
  </channel>
</rss>

