<?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 Problem routing events to nullQueue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94406#M19637</link>
    <description>&lt;P&gt;I'm trying to get a multi-line log4j event sent to the nullQueue on a &lt;EM&gt;Regular&lt;/EM&gt; forwarder.  Here is my inputs/props/transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///opt/ShoppingSite/work/logs/tomcat.log]
disabled = false
followTail = 1
sourcetype = log4j

[source::///opt/ShoppingSite/work/logs/tomcat.log]
TRANSFORMS-filtercrap = cleantomcat

[cleantomcat]
REGEX = (?m).+getResponseEntity\nINFO:\s+The\slength\sof\sthe\smessage\sbody\sis\sunknown.+
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is the event from my tomcat log I need filtered:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Nov 24, 2010 12:51:18 PM com.noelios.restlet.http.HttpClientCall getResponseEntity
INFO: The length of the message body is unknown. The entity must be handled carefully and consumed entirely in order to surely release the connection.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've checked my regex using KiKi (Linux regex utility).  Anyone have any thoughts?  These events are still showing up when I search on my search head.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2010 04:13:26 GMT</pubDate>
    <dc:creator>nocostk</dc:creator>
    <dc:date>2010-11-25T04:13:26Z</dc:date>
    <item>
      <title>Problem routing events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94406#M19637</link>
      <description>&lt;P&gt;I'm trying to get a multi-line log4j event sent to the nullQueue on a &lt;EM&gt;Regular&lt;/EM&gt; forwarder.  Here is my inputs/props/transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///opt/ShoppingSite/work/logs/tomcat.log]
disabled = false
followTail = 1
sourcetype = log4j

[source::///opt/ShoppingSite/work/logs/tomcat.log]
TRANSFORMS-filtercrap = cleantomcat

[cleantomcat]
REGEX = (?m).+getResponseEntity\nINFO:\s+The\slength\sof\sthe\smessage\sbody\sis\sunknown.+
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is the event from my tomcat log I need filtered:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Nov 24, 2010 12:51:18 PM com.noelios.restlet.http.HttpClientCall getResponseEntity
INFO: The length of the message body is unknown. The entity must be handled carefully and consumed entirely in order to surely release the connection.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've checked my regex using KiKi (Linux regex utility).  Anyone have any thoughts?  These events are still showing up when I search on my search head.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2010 04:13:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94406#M19637</guid>
      <dc:creator>nocostk</dc:creator>
      <dc:date>2010-11-25T04:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem routing events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94407#M19638</link>
      <description>&lt;P&gt;What happens if you change the props.conf from&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::///opt/ShoppingSite/work/logs/tomcat.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[log4j]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and restart the forwarder?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2010 11:04:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94407#M19638</guid>
      <dc:creator>bfaber</dc:creator>
      <dc:date>2010-11-25T11:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem routing events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94408#M19639</link>
      <description>&lt;P&gt;That seems to work.  Why would sourcetype work but not source?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2010 21:24:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94408#M19639</guid>
      <dc:creator>nocostk</dc:creator>
      <dc:date>2010-11-26T21:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem routing events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94409#M19640</link>
      <description>&lt;P&gt;&lt;CODE&gt;source::&lt;/CODE&gt; clauses should not have the triple slashes &lt;CODE&gt;///&lt;/CODE&gt; at the start, just the &lt;CODE&gt;/&lt;/CODE&gt;. The &lt;CODE&gt;//&lt;/CODE&gt; is part of inputs monitor syntax.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2010 10:24:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-routing-events-to-nullQueue/m-p/94409#M19640</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-11-30T10:24:18Z</dc:date>
    </item>
  </channel>
</rss>

