<?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: Event data filtering not working.  How to debug? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-not-working-How-to-debug/m-p/24784#M3960</link>
    <description>&lt;P&gt;Not knowing the environment details, I could only guess at the issue (given that it works in another environment).&lt;/P&gt;

&lt;P&gt;If you're using a light weight forwarder, this configuration needs to live on the indexer. If you're using a regular forwarder, this configuration needs to live on the forwarder. You can look at event counts in metrics logs for group=pipeline to see if regex extraction is being run on the machine with the configuration.&lt;/P&gt;

&lt;P&gt;On the machine with the configuration, you can check what Splunk is interpreting from the configuration files using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd btool props list access_logs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd btool transforms list Filter_ping
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Jan 2011 06:20:53 GMT</pubDate>
    <dc:creator>Stephen_Sorkin</dc:creator>
    <dc:date>2011-01-12T06:20:53Z</dc:date>
    <item>
      <title>Event data filtering not working.  How to debug?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-not-working-How-to-debug/m-p/24783#M3959</link>
      <description>&lt;P&gt;I need to filter out certain unwanted events and send them to the nullQueue.&lt;/P&gt;

&lt;P&gt;I added this in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_logs]
TRANSFORMS-proj = Filter_ping
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and this in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Filter_ping]
REGEX = Request\:ping
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is working perfectly in one env (splunk client+server) but not working in another env.  Since the conf files are the same as are the versions of the splunk forwarder and servers.  I'm at a lost as to why this filtering fails on the 2nd env. &lt;/P&gt;

&lt;P&gt;Any suggestion as to how to debug this?  splunkd.log looks normal.  I verified that sourcetype access_logs is correct.  Anywhere I can look to see what filtering the forwarder has loaded?&lt;/P&gt;

&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2011 05:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-not-working-How-to-debug/m-p/24783#M3959</guid>
      <dc:creator>wang</dc:creator>
      <dc:date>2011-01-12T05:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Event data filtering not working.  How to debug?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-not-working-How-to-debug/m-p/24784#M3960</link>
      <description>&lt;P&gt;Not knowing the environment details, I could only guess at the issue (given that it works in another environment).&lt;/P&gt;

&lt;P&gt;If you're using a light weight forwarder, this configuration needs to live on the indexer. If you're using a regular forwarder, this configuration needs to live on the forwarder. You can look at event counts in metrics logs for group=pipeline to see if regex extraction is being run on the machine with the configuration.&lt;/P&gt;

&lt;P&gt;On the machine with the configuration, you can check what Splunk is interpreting from the configuration files using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd btool props list access_logs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd btool transforms list Filter_ping
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Jan 2011 06:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-not-working-How-to-debug/m-p/24784#M3960</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2011-01-12T06:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Event data filtering not working.  How to debug?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-not-working-How-to-debug/m-p/24785#M3961</link>
      <description>&lt;P&gt;Thanks for the pointer on metrics.log.  When I compare the file between the two envs, I find references to the light-forwarder on the env where filtering is not working:&lt;/P&gt;

&lt;P&gt;01-12-2011 01:29:21.021 INFO  Metrics - group=pipeline, name=parsing, processor=send-out-light-forwarder, cpu_seconds=0.000000, executes=36, cumulative_hits=221543&lt;/P&gt;

&lt;P&gt;01-12-2011 01:29:21.021 INFO  Metrics - group=pipeline, name=parsing, processor=tcp-output-light-forwarder, cpu_seconds=0.000000, executes=36, cumulative_hits=221543&lt;/P&gt;

&lt;P&gt;Since I know LWF does not support filtering, this could be the issue.  However, I start splunk on both env the same way:&lt;/P&gt;

&lt;P&gt;./splunk start --accept-license
./splunk enable app SplunkForwarder -auth admin:changeme
./splunk add forward-server 10.10.41.109:9997 -auth admin:changeme
./splunk disable webserver -auth admin:changeme
./splunk enable boot-start
./splunk restart&lt;/P&gt;

&lt;P&gt;The enable command certainly does not activate the LWF.  So where are processor=send-out-light-forwarder and tcp-output-light-forwarder specified?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2011 06:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-not-working-How-to-debug/m-p/24785#M3961</guid>
      <dc:creator>wang</dc:creator>
      <dc:date>2011-01-13T06:20:56Z</dc:date>
    </item>
  </channel>
</rss>

