<?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: Exclusion Not Working In Transforms.Conf File in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108286#M28168</link>
    <description>&lt;P&gt;The Windows Event Codes can be tricky sometimes with the filtering. &lt;/P&gt;

&lt;P&gt;I am wondering if the paratheses on the REGEX could be causing a problem and adding an anchor, ie:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[FilterSecurityEvents]
REGEX = (?m)^EventCode=5156
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 10 Nov 2011 18:04:02 GMT</pubDate>
    <dc:creator>tgow</dc:creator>
    <dc:date>2011-11-10T18:04:02Z</dc:date>
    <item>
      <title>Exclusion Not Working In Transforms.Conf File</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108285#M28167</link>
      <description>&lt;P&gt;I have four Windows 2008 R2 servers each running a Splunk Univerisal Forwarder.  On the Splunk server in the transforms.Conf file which resides in C:\Program Files\Splunk\etc\system\local I have the following configuration:&lt;/P&gt;

&lt;P&gt;[FilterSecurityEvents]&lt;BR /&gt;
REGEX = (?m)EventCode=(5156)&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;In the props.conf file which also resides in C:\Program Files\Splunk\etc\system\local I have the following entry:&lt;/P&gt;

&lt;P&gt;[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-Filter_Events = FilterSecurityEvents&lt;/P&gt;

&lt;P&gt;I am trying to stop EventCode 5156 being indexed, however this event code is still being index by Splunk.  Does anyone have any idea as to why this is happening?&lt;/P&gt;

&lt;P&gt;From browsing other splunkbase posts I have noticed that I am missing in the string ^ Should my entry be:  REGEX = (?m)^EventCode=(5156)  &lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2011 14:45:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108285#M28167</guid>
      <dc:creator>itsomana</dc:creator>
      <dc:date>2011-11-10T14:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusion Not Working In Transforms.Conf File</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108286#M28168</link>
      <description>&lt;P&gt;The Windows Event Codes can be tricky sometimes with the filtering. &lt;/P&gt;

&lt;P&gt;I am wondering if the paratheses on the REGEX could be causing a problem and adding an anchor, ie:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[FilterSecurityEvents]
REGEX = (?m)^EventCode=5156
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Nov 2011 18:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108286#M28168</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2011-11-10T18:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusion Not Working In Transforms.Conf File</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108287#M28169</link>
      <description>&lt;P&gt;I have put in ^ into the Regex field REGEX = (?m)^EventCode=5156 then restarted splunk, however splunk was still logging Event Code 5156.  &lt;/P&gt;

&lt;P&gt;I then took the brackets from around (5156) then restarted splunk, however still no luck&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 13:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108287#M28169</guid>
      <dc:creator>itsomana</dc:creator>
      <dc:date>2011-11-11T13:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusion Not Working In Transforms.Conf File</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108288#M28170</link>
      <description>&lt;P&gt;You cannot filter events into the nullqueue on a Universal Forwarder. You will need to move the props.conf and transforms.conf onto the Indexer. Try this and the data should be sent to the nullqueue before it is indexed. &lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 18:48:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108288#M28170</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2011-11-11T18:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusion Not Working In Transforms.Conf File</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108289#M28171</link>
      <description>&lt;P&gt;Was anybody ever able to get this working?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2013 17:54:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Exclusion-Not-Working-In-Transforms-Conf-File/m-p/108289#M28171</guid>
      <dc:creator>erstexas</dc:creator>
      <dc:date>2013-06-18T17:54:16Z</dc:date>
    </item>
  </channel>
</rss>

