<?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: Filtering out data (from a forwarder) on Indexer? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471879#M81088</link>
    <description>&lt;P&gt;Hi @spunk311z,&lt;BR /&gt;
check the regex: = is a special char and must be escaped, try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;process_image\=\".*vmtoolsd\.exe\"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2020 16:56:56 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-02-13T16:56:56Z</dc:date>
    <item>
      <title>Filtering out data (from a forwarder) on Indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471878#M81087</link>
      <description>&lt;P&gt;hi,  i have several universal forwarders deployed, and im getting lots of events i want to filter out.&lt;/P&gt;

&lt;P&gt;I understand from reading answers here i need to do this on the indexer (or else install heavy forwaders on my endpoints, which i dont want to do).&lt;BR /&gt;
This is a raw entry that im trying to drop / filter out from my indexer (ie to keep it from using up lots of my license):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02/13/2020 10:19:09.016
event_status="(0)The operation completed successfully."
pid=1216
process_image="c:\Program Files\VMware\VMware Tools\vmtoolsd.exe"
registry_type="CreateKey"
key_path="HKLM\system\controlset001\services\tcpip\parameters"
data_type="REG_NONE"
data=""
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is the entry from the inputs.conf on the forwarders that is sending some of the events i want to filter out:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    [WinRegMon://default]
    disabled = 0
    hive = .*
    proc = .*
    type = rename|set|delete|create
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And i have added these lines on my indexer (and restarted),  but im still seeing the events come in:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#on props.conf ( located in: C:\Program #Files\Splunk\etc\users\admin\search\local\props.conf):

[WinRegMon://default]
TRANSFORMS-set= setnull

#on transforms.conf ( located in: C:\Program #Files\Splunk\etc\users\admin\search\local\transforms.conf):

[setnull]
REGEX = process_image=.+vmtoolsd.exe"
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
(ive been referencing many answers, including this good one):&lt;BR /&gt;
(h)ttps:// answers.splunk.com/answers/37423/how-to-configure-a-forwarder-to-filter-and-send-the-specific-events-i-want.html&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 16:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471878#M81087</guid>
      <dc:creator>spunk311z</dc:creator>
      <dc:date>2020-02-13T16:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering out data (from a forwarder) on Indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471879#M81088</link>
      <description>&lt;P&gt;Hi @spunk311z,&lt;BR /&gt;
check the regex: = is a special char and must be escaped, try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;process_image\=\".*vmtoolsd\.exe\"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 16:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471879#M81088</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-02-13T16:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering out data (from a forwarder) on Indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471880#M81089</link>
      <description>&lt;P&gt;Thanks,  But the events are still coming in even with this in my transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = process_image\=\".*vmtoolsd\.exe\"
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(i had run my original regex through regex tester.com and got a full match,  fwiw.  same on yours too).  tks&lt;BR /&gt;
Have tried both reloading and restarting splunk server.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 22:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471880#M81089</guid>
      <dc:creator>spunk311z</dc:creator>
      <dc:date>2020-02-13T22:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering out data (from a forwarder) on Indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471881#M81090</link>
      <description>&lt;P&gt;I was able to fix this,  the issue does not appear to be with my orginal regex (although Giuseppe's suggestion is better form than mine and is what i will be using),  &lt;/P&gt;

&lt;P&gt;it was that i was editing props.conf and transform.conf in:&lt;BR /&gt;
$SPLUNK_BASE$\etc\users\admin\search\local\&lt;/P&gt;

&lt;P&gt;as opposed to the proper location of:&lt;BR /&gt;
$SPLUNK_BASE$\etc\system\local\&lt;/P&gt;

&lt;P&gt;once i copied my stanzas over to that location, and refreshed, the entries in question stopped coming in!&lt;/P&gt;

&lt;P&gt;Can anyone explain the difference between .conf files in these two locations, please?&lt;/P&gt;

&lt;P&gt;(i am logging into splunk with splunk user: admin).&lt;BR /&gt;
thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 23:28:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471881#M81090</guid>
      <dc:creator>spunk311z</dc:creator>
      <dc:date>2020-02-13T23:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering out data (from a forwarder) on Indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471882#M81091</link>
      <description>&lt;P&gt;Hi @spunk311z,&lt;BR /&gt;
are you sure that "WinRegMon://default" is the sourcetype of the events to delete?&lt;BR /&gt;
see them in Splunk.&lt;/P&gt;

&lt;P&gt;It's correct to install Universal Forwarders on Endpoints, but have you any intermediate Heavy Forwarder between UFs and Indexers?&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 07:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-out-data-from-a-forwarder-on-Indexer/m-p/471882#M81091</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-02-14T07:58:26Z</dc:date>
    </item>
  </channel>
</rss>

