<?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: Why is my Splunk 6.2.5 Heavy Forwarder not filtering out events as expected? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255265#M49028</link>
    <description>&lt;P&gt;same results.&lt;BR /&gt;
just for testing, i brought the props.conf/transforms.conf to the indexer and it filtered as expected.&lt;BR /&gt;
so it must be something on the forwarder side.&lt;/P&gt;

&lt;P&gt;not sure if it helps, but the "cmd btool" dumped this info:&lt;/P&gt;

&lt;P&gt;% /opt/splunk/bin/splunk cmd btool transforms list setnull&lt;BR /&gt;
[setnull]&lt;BR /&gt;
CAN_OPTIMIZE = True&lt;BR /&gt;
CLEAN_KEYS = True&lt;BR /&gt;
DEFAULT_VALUE = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;BR /&gt;
KEEP_EMPTY_VALS = False&lt;BR /&gt;
LOOKAHEAD = 4096&lt;BR /&gt;
MV_ADD = False&lt;BR /&gt;
REGEX = 220&lt;BR /&gt;
SOURCE_KEY = _raw&lt;BR /&gt;
WRITE_META = False&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 07:28:13 GMT</pubDate>
    <dc:creator>tony_luu</dc:creator>
    <dc:date>2020-09-29T07:28:13Z</dc:date>
    <item>
      <title>Why is my Splunk 6.2.5 Heavy Forwarder not filtering out events as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255263#M49026</link>
      <description>&lt;P&gt;My Heavy Forwarder forwards data to the indexer fine, however, I wanted to filter out some events before being forwarded using props.conf and transforms.conf, but the indexer still receives everything.&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   [source::/var/log/vsftpd.log]
   TRANSFORMS-null = setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   [setnull]
   REGEX = 220
   DEST_KEY = queue
   FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;for testing, I just simplified the REGEX to filter out all events containing "220"&lt;BR /&gt;
I even tried &lt;CODE&gt;REGEX = .&lt;/CODE&gt; (to filter out everything) but still had no effect.&lt;/P&gt;

&lt;P&gt;What am I missing?&lt;BR /&gt;
I'm using Splunk 6.2.5 BTW.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2015 17:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255263#M49026</guid>
      <dc:creator>tony_luu</dc:creator>
      <dc:date>2015-10-01T17:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Splunk 6.2.5 Heavy Forwarder not filtering out events as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255264#M49027</link>
      <description>&lt;P&gt;Try like this (changes to transforms.conf, keep the same props.conf)&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = (220)
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, ensure to restart the heavy forwarder after change.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2015 18:12:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255264#M49027</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-10-01T18:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Splunk 6.2.5 Heavy Forwarder not filtering out events as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255265#M49028</link>
      <description>&lt;P&gt;same results.&lt;BR /&gt;
just for testing, i brought the props.conf/transforms.conf to the indexer and it filtered as expected.&lt;BR /&gt;
so it must be something on the forwarder side.&lt;/P&gt;

&lt;P&gt;not sure if it helps, but the "cmd btool" dumped this info:&lt;/P&gt;

&lt;P&gt;% /opt/splunk/bin/splunk cmd btool transforms list setnull&lt;BR /&gt;
[setnull]&lt;BR /&gt;
CAN_OPTIMIZE = True&lt;BR /&gt;
CLEAN_KEYS = True&lt;BR /&gt;
DEFAULT_VALUE = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;BR /&gt;
KEEP_EMPTY_VALS = False&lt;BR /&gt;
LOOKAHEAD = 4096&lt;BR /&gt;
MV_ADD = False&lt;BR /&gt;
REGEX = 220&lt;BR /&gt;
SOURCE_KEY = _raw&lt;BR /&gt;
WRITE_META = False&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:28:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255265#M49028</guid>
      <dc:creator>tony_luu</dc:creator>
      <dc:date>2020-09-29T07:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Splunk 6.2.5 Heavy Forwarder not filtering out events as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255266#M49029</link>
      <description>&lt;P&gt;just open a new case with splunk support.&lt;BR /&gt;
will post the results when the case is resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 15:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255266#M49029</guid>
      <dc:creator>tony_luu</dc:creator>
      <dc:date>2015-10-05T15:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Splunk 6.2.5 Heavy Forwarder not filtering out events as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255267#M49030</link>
      <description>&lt;P&gt;Mystery solved!&lt;/P&gt;

&lt;P&gt;per Splunk support recommendation, i reinstalled a fresh splunk 6.2.5 and everything worked as expected.&lt;/P&gt;

&lt;P&gt;I guess the problem is that my previous 6.2.5  installation was an upgrade from 6.0.1&lt;BR /&gt;
Shouldn't have to do that but hey it works now.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 19:08:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-Splunk-6-2-5-Heavy-Forwarder-not-filtering-out-events/m-p/255267#M49030</guid>
      <dc:creator>tony_luu</dc:creator>
      <dc:date>2015-10-08T19:08:03Z</dc:date>
    </item>
  </channel>
</rss>

