<?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 How to configure props.conf and transforms.conf to filter out events from web logs before getting indexed? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-filter-out/m-p/153103#M31160</link>
    <description>&lt;P&gt;I am attempting to filter out healthcheck's within our system from our web logs. I am using the props.conf / transforms.conf method on the indexer in order to begin filtering these out. I have inserted all of the necessary parameters, and restarted the system, however the events are still appearing. This environment is a cluster, so I am pushing the configurations from the cluster master. See props / transforms entries below. &lt;/P&gt;

&lt;P&gt;props.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[www_stg] 
TRANSFORMS-hck = webHealthCheckFilterStg 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[webHealthCheckFilterStg] 
    REGEX = 10.207.*.* 
    REGEX = 10.207.*.* 
    REGEX = 10.207.*.*
    REGEX = 10.207.*.* 
    REGEX = myHealtchCheckUser
    REGEX = (h|H)ealth(c|C)heck) 
    DEST_KEY = queue 
    FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I don't see the events getting filtered, so I'm assuming I have a syntax error somewhere. Am I doing something wrong? &lt;/P&gt;</description>
    <pubDate>Mon, 06 Oct 2014 15:36:10 GMT</pubDate>
    <dc:creator>tmarlette</dc:creator>
    <dc:date>2014-10-06T15:36:10Z</dc:date>
    <item>
      <title>How to configure props.conf and transforms.conf to filter out events from web logs before getting indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-filter-out/m-p/153103#M31160</link>
      <description>&lt;P&gt;I am attempting to filter out healthcheck's within our system from our web logs. I am using the props.conf / transforms.conf method on the indexer in order to begin filtering these out. I have inserted all of the necessary parameters, and restarted the system, however the events are still appearing. This environment is a cluster, so I am pushing the configurations from the cluster master. See props / transforms entries below. &lt;/P&gt;

&lt;P&gt;props.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[www_stg] 
TRANSFORMS-hck = webHealthCheckFilterStg 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[webHealthCheckFilterStg] 
    REGEX = 10.207.*.* 
    REGEX = 10.207.*.* 
    REGEX = 10.207.*.*
    REGEX = 10.207.*.* 
    REGEX = myHealtchCheckUser
    REGEX = (h|H)ealth(c|C)heck) 
    DEST_KEY = queue 
    FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I don't see the events getting filtered, so I'm assuming I have a syntax error somewhere. Am I doing something wrong? &lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 15:36:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-filter-out/m-p/153103#M31160</guid>
      <dc:creator>tmarlette</dc:creator>
      <dc:date>2014-10-06T15:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to filter out events from web logs before getting indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-filter-out/m-p/153104#M31161</link>
      <description>&lt;P&gt;First, I have 3 remarks on the regexes.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;you cannot put more than 1 REGEX per transfoms.&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;your regex are not valid, you need to escape the dots and you may want to specify that you expect digits&lt;BR /&gt;
&lt;CODE&gt;REGEX=10\.207\.\d+\.\d+&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;you should group all your regex in a single one with OR conditions. This can be faster than create a new tranform per regex.&lt;BR /&gt;
example :  &lt;CODE&gt;REGEX=(myHealtchCheckUser|10\.207\.\d+\.\d+)&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;And finally, double check that :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;the events are not send from a heavy forwarder that already parsed the events&lt;/LI&gt;
&lt;LI&gt;that the sourcetype does not have any INDEXED_EXTRACTIONS rules that will cause them to be parsed on the forwarders
In both case, try with the props/transforms on the forwarder.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 06 Oct 2014 17:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-filter-out/m-p/153104#M31161</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-10-06T17:03:10Z</dc:date>
    </item>
  </channel>
</rss>

