<?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 Splunk DB Connect: Why are my props and transforms configurations not filtering out events from McAfee? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Why-are-my-props-and-transforms-configurations/m-p/128686#M97741</link>
    <description>&lt;P&gt;Hello all ye gurus&lt;BR /&gt;
We have Mcafee EPO data coming into splunk as follows&lt;BR /&gt;
 - DBX app installed which connects to the EPO data and pulls the information. &lt;BR /&gt;
    - the $Splunk_home$\etc\apps\dbx\local\inputs.conf has the source (dbmon_tail.......)&lt;BR /&gt;
 - the index, sourcetype=mcafee:epo are set here&lt;/P&gt;

&lt;P&gt;This all works well but i want to filter out a number of events that are extracted from the Mcafee EPO database. Specifically, events where the signature = "Anti-virus Standard Protection:Prevent user rights policies from being altered"&lt;/P&gt;

&lt;P&gt;so my strategy was to use props and transforms file to filter it out &lt;BR /&gt;
so in the props file, I added&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mcafee:epo]
TRANSFORMS-filter_unwanted_events=filter_unwanted_events
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the transforms file, I added&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[filter_unwanted_events]
REGEX = (?m)\nsignature.+Protection
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is on a heavy forwarder, however, i am not able to get this to work.&lt;/P&gt;

&lt;P&gt;where i am going wrong? &lt;BR /&gt;
-is the transforms not being applied on the right source/sourcetype?&lt;BR /&gt;
-is the regex not correct?&lt;BR /&gt;
-am i using the wrong props and transforms files?&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated. &lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:50:43 GMT</pubDate>
    <dc:creator>jeffryjacob</dc:creator>
    <dc:date>2020-09-28T18:50:43Z</dc:date>
    <item>
      <title>Splunk DB Connect: Why are my props and transforms configurations not filtering out events from McAfee?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Why-are-my-props-and-transforms-configurations/m-p/128686#M97741</link>
      <description>&lt;P&gt;Hello all ye gurus&lt;BR /&gt;
We have Mcafee EPO data coming into splunk as follows&lt;BR /&gt;
 - DBX app installed which connects to the EPO data and pulls the information. &lt;BR /&gt;
    - the $Splunk_home$\etc\apps\dbx\local\inputs.conf has the source (dbmon_tail.......)&lt;BR /&gt;
 - the index, sourcetype=mcafee:epo are set here&lt;/P&gt;

&lt;P&gt;This all works well but i want to filter out a number of events that are extracted from the Mcafee EPO database. Specifically, events where the signature = "Anti-virus Standard Protection:Prevent user rights policies from being altered"&lt;/P&gt;

&lt;P&gt;so my strategy was to use props and transforms file to filter it out &lt;BR /&gt;
so in the props file, I added&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mcafee:epo]
TRANSFORMS-filter_unwanted_events=filter_unwanted_events
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the transforms file, I added&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[filter_unwanted_events]
REGEX = (?m)\nsignature.+Protection
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is on a heavy forwarder, however, i am not able to get this to work.&lt;/P&gt;

&lt;P&gt;where i am going wrong? &lt;BR /&gt;
-is the transforms not being applied on the right source/sourcetype?&lt;BR /&gt;
-is the regex not correct?&lt;BR /&gt;
-am i using the wrong props and transforms files?&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated. &lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:50:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Why-are-my-props-and-transforms-configurations/m-p/128686#M97741</guid>
      <dc:creator>jeffryjacob</dc:creator>
      <dc:date>2020-09-28T18:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Why are my props and transforms configurations not filtering out events from McAfee?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Why-are-my-props-and-transforms-configurations/m-p/128687#M97742</link>
      <description>&lt;P&gt;Hi jeffryjacob,&lt;/P&gt;

&lt;P&gt;here are my answers:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;is the transforms not being applied on the right source/sourcetype?&lt;/EM&gt;&lt;BR /&gt;
run &lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props mcafee:epo list&lt;/CODE&gt; to verify this&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;is the regex not correct?&lt;/EM&gt;&lt;BR /&gt;
Yes, it is not correct - try this &lt;CODE&gt;signature.+Protection&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;am i using the wrong props and transforms files?&lt;/EM&gt;&lt;BR /&gt;
No, you're not &lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 06:55:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Why-are-my-props-and-transforms-configurations/m-p/128687#M97742</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-02-06T06:55:51Z</dc:date>
    </item>
  </channel>
</rss>

