<?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 debug statement in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-debug-statement/m-p/138774#M28494</link>
    <description>&lt;P&gt;Hi olimouse,&lt;/P&gt;

&lt;P&gt;a few things to pay attention here:&lt;/P&gt;

&lt;P&gt;is your sourcetype really &lt;CODE&gt;ABCLogs&lt;/CODE&gt; ? This must match exactly&lt;BR /&gt;
Is your props.conf and transforms.conf on the Splunk server doing event parsing? See this wiki to learn more: &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;BR /&gt;
The regex in &lt;CODE&gt;[ABC_setnull]&lt;/CODE&gt; could also just be &lt;CODE&gt;REGEX = DEBUG&lt;/CODE&gt; &lt;BR /&gt;
Did you restart your Splunk server after the changes?&lt;BR /&gt;
Did you try to change the order in the &lt;CODE&gt;props.conf&lt;/CODE&gt; to something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-ABCLogs = ABC_setnull, ABC_setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2014 21:35:33 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-12-02T21:35:33Z</dc:date>
    <item>
      <title>Filtering debug statement</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-debug-statement/m-p/138773#M28493</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying to filter out all the lines with DEBUG inside them.  I've the following props.conf and transforms.conf but still not working.&lt;/P&gt;

&lt;P&gt;Did I make any mistake please?  How can I debug this please?  Thanks.&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ABCLogs]
TRUNCATE = 100000
SHOULD_LINEMERGE = true
# BREAK_ONLY_BEFORE_DATE = true
BREAK_ONLY_BEFORE = \d+\s\w\w\w\s\d\d\d\d\s\d\d:\d\d:\d\d\,\d\d\d\s
TRANSFORMS-ABCLogs = ABC_setparsing,ABC_setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ABC_setnull]
REGEX = (.*)DEBUG(.*)
DEST_KEY = queue
FORMAT = nullQueue

[ABC_setparsing]
REGEX = .
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Jack&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 21:18:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-debug-statement/m-p/138773#M28493</guid>
      <dc:creator>oilmouse</dc:creator>
      <dc:date>2014-12-02T21:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering debug statement</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-debug-statement/m-p/138774#M28494</link>
      <description>&lt;P&gt;Hi olimouse,&lt;/P&gt;

&lt;P&gt;a few things to pay attention here:&lt;/P&gt;

&lt;P&gt;is your sourcetype really &lt;CODE&gt;ABCLogs&lt;/CODE&gt; ? This must match exactly&lt;BR /&gt;
Is your props.conf and transforms.conf on the Splunk server doing event parsing? See this wiki to learn more: &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;BR /&gt;
The regex in &lt;CODE&gt;[ABC_setnull]&lt;/CODE&gt; could also just be &lt;CODE&gt;REGEX = DEBUG&lt;/CODE&gt; &lt;BR /&gt;
Did you restart your Splunk server after the changes?&lt;BR /&gt;
Did you try to change the order in the &lt;CODE&gt;props.conf&lt;/CODE&gt; to something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-ABCLogs = ABC_setnull, ABC_setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 21:35:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-debug-statement/m-p/138774#M28494</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-12-02T21:35:33Z</dc:date>
    </item>
  </channel>
</rss>

