<?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: REGEX for nullQueue in transforms.conf in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/REGEX-for-nullQueue-in-transforms-conf/m-p/88825#M22747</link>
    <description>&lt;P&gt;I take that back it worked out indeed !&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jul 2012 23:17:19 GMT</pubDate>
    <dc:creator>asarolkar</dc:creator>
    <dc:date>2012-07-02T23:17:19Z</dc:date>
    <item>
      <title>REGEX for nullQueue in transforms.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-for-nullQueue-in-transforms-conf/m-p/88823#M22745</link>
      <description>&lt;P&gt;We have a certain logfile (tied to &lt;CODE&gt;sourcetype: syslog&lt;/CODE&gt;) inbound from a forwarder which has THIS line in it: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2012-07-02 15:29:52,190 DEBUG [http-0.0.0.0-8080-3]   LoggingFilter - url=[/healthCheck/status],
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We want to filter out any events ON THE INDEXER SIDE that have this content -&amp;gt; &lt;CODE&gt;/healthCheck/status&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;We tried making the following changes to :&lt;/P&gt;

&lt;P&gt;i) $SPLUNK_HOME/etc/system/local/props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype::syslog]
TRANSFORMS-null=ignore
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then over at &lt;/P&gt;

&lt;P&gt;ii) $SPLUNK_HOME/etc/system/local/transforms.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ignore]
REGEX=healthCheck
DEST_Key=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However that does not seem to work and I am certain its because the REGEX is not setup correctly.&lt;/P&gt;

&lt;P&gt;I have tried the following alternatives that do not work out either:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1. REGEX= \[(healthCheck)\]
 2. REGEX= (^m)(healthCheck)
 3. REGEX= \healthCheck\status
4. REGEX= ^\S+\s+(?&amp;lt;healthCheck&amp;gt;\S+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;~~~&lt;/P&gt;

&lt;P&gt;Also, is it likely that the changes ought to made to the props.conf and transforms.conf which resides at $SPLUNK_HOME/etc/apps/search/local instead ? Any suggestions ? &lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 22:44:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-for-nullQueue-in-transforms-conf/m-p/88823#M22745</guid>
      <dc:creator>asarolkar</dc:creator>
      <dc:date>2012-07-02T22:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX for nullQueue in transforms.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-for-nullQueue-in-transforms-conf/m-p/88824#M22746</link>
      <description>&lt;P&gt;This regex should match &lt;CODE&gt;/healthCheck/status&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX=/healthCheck/status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;None of these characters are special characters to regex. If you want to match &lt;CODE&gt;[/healthCheck/status]&lt;/CODE&gt;, then this should do it&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX=\[/healthCheck/status]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If neither of these works, then perhaps the problem is elsewhere. For example it is &lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DEST_Key=queue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DEST_KEY=queue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So check your transforms.conf and props.conf very carefully. Of course, perhaps that was just a typo in your question here, not in the original file...&lt;/P&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 22:48:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-for-nullQueue-in-transforms-conf/m-p/88824#M22746</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-07-02T22:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX for nullQueue in transforms.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-for-nullQueue-in-transforms-conf/m-p/88825#M22747</link>
      <description>&lt;P&gt;I take that back it worked out indeed !&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 23:17:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-for-nullQueue-in-transforms-conf/m-p/88825#M22747</guid>
      <dc:creator>asarolkar</dc:creator>
      <dc:date>2012-07-02T23:17:19Z</dc:date>
    </item>
  </channel>
</rss>

