<?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 do I go about filtering data with transform.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-go-about-filtering-data-with-transform-conf/m-p/431346#M75472</link>
    <description>&lt;P&gt;hi @ksbuchanan&lt;/P&gt;

&lt;P&gt;Did the answer below solve your problem? If so, please resolve this post by approving it! If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 22:55:52 GMT</pubDate>
    <dc:creator>mstjohn_splunk</dc:creator>
    <dc:date>2018-10-22T22:55:52Z</dc:date>
    <item>
      <title>How do I go about filtering data with transform.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-go-about-filtering-data-with-transform-conf/m-p/431344#M75470</link>
      <description>&lt;P&gt;I am using universal forwarders installed on my domain controllers, and I am successfully filtering specific events (props.conf and transform.conf are show below).  This is working as we want it to work, and the data is being indexed into "SecEvents".&lt;/P&gt;

&lt;P&gt;I want to add a new server and index into the same index (SecEvents); however, the list of event IDs are different.  How can I filter from multiple sources?  I've tried adding the host into the REGEX in the transform - but nothing I've tried works.  &lt;/P&gt;

&lt;P&gt;For the sake of simplicity - let's just say I want events 1000 and 2000 from the "new server", and I want them to drop into the SecEvents index.  &lt;/P&gt;

&lt;P&gt;Thanks for your help!&lt;/P&gt;

&lt;P&gt;Contents of props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Security]
TRANSFORMS-security = events-null, events-filter
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Contents of transform.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[events-null]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[events-filter]
#The last 3...may generate a lot...watch for them
REGEX=(?m)^EventCode=(4720|4722|4724|4725|4726|4727|4728|4729|4730|4731|4732|4733|4734|4735|4737|4740|4741|4743|4744|4745|4746|4747|4748|4749|4750|4751|4752|4753|4754|4755|4756|4757|4758|4759|4760|4761|4762|4763|4767|4771|4723|4625|6272|6273|6278)
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Oct 2018 20:22:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-go-about-filtering-data-with-transform-conf/m-p/431344#M75470</guid>
      <dc:creator>ksbuchanan</dc:creator>
      <dc:date>2018-10-19T20:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I go about filtering data with transform.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-go-about-filtering-data-with-transform-conf/m-p/431345#M75471</link>
      <description>&lt;P&gt;Why not filter at the universal forwarder level ? Refer to blog post  &lt;A href="https://www.splunk.com/blog/2014/05/23/controlling-4662-messages-in-the-windows-security-event-log.html"&gt;Controlling 4662 Messages in the Windows Security Event Log&lt;/A&gt;  or to &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/MonitorWindowseventlogdata"&gt;Monitor Windows event log data&lt;/A&gt; in particular the whitelist/blacklist section&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 22:05:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-go-about-filtering-data-with-transform-conf/m-p/431345#M75471</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-10-19T22:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I go about filtering data with transform.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-go-about-filtering-data-with-transform-conf/m-p/431346#M75472</link>
      <description>&lt;P&gt;hi @ksbuchanan&lt;/P&gt;

&lt;P&gt;Did the answer below solve your problem? If so, please resolve this post by approving it! If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 22:55:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-go-about-filtering-data-with-transform-conf/m-p/431346#M75472</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-10-22T22:55:52Z</dc:date>
    </item>
  </channel>
</rss>

