<?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: Configuring nullQueue With Monitor and Sourcetype in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143829#M29360</link>
    <description>&lt;P&gt;Am I right in guessing that all three of those .conf files reside on a Universal Forwarder?&lt;/P&gt;

&lt;P&gt;If so, move or copy props.conf and transforms.conf to the indexer(s).&lt;/P&gt;

&lt;P&gt;A note about your REGEX, that will be horribly inefficient. Replace &lt;CODE&gt;.*(INFO|\(INFO\)|INFO\:).*&lt;/CODE&gt; with &lt;CODE&gt;INFO&lt;/CODE&gt; - it'll match exactly the same events, but avoid insane amounts of backtracking caused by the &lt;CODE&gt;.*&lt;/CODE&gt; at the front. That matches everything anyway and its matches aren't captured, so leaving that off doesn't change anything. Leaving off your other two alternatives &lt;CODE&gt;\(INFO\)&lt;/CODE&gt; and &lt;CODE&gt;INFO\:&lt;/CODE&gt; doesn't change anything either, because &lt;CODE&gt;INFO&lt;/CODE&gt; already matches them.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Apr 2014 23:23:36 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-04-25T23:23:36Z</dc:date>
    <item>
      <title>Configuring nullQueue With Monitor and Sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143828#M29359</link>
      <description>&lt;P&gt;I've seen many questions regarding dropping information from logs by sending them to a nullQueue, however this is always with a &lt;CODE&gt;source::&lt;/CODE&gt; and where I differ is that I've applied a sourcetype to different folders, based on log organization. &lt;/P&gt;

&lt;P&gt;My goal is to nullify any line with INFO in it, in various formats, using the regex &lt;CODE&gt;.*(INFO|\(INFO\)|INFO\:).*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;CODE&gt;etc/apps/Splunk_TA_windows/local/inputs.conf&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Program\Prog\logs\debug\*.log]

disabled = false

sourcetype = data_logs_debug


[monitor://C:\Program\Prog\logs\tomcat\*.log]

disabled = false

sourcetype = data_logs_tomcat


[monitor://C:\Program\Prog\logs\.*log]

disabled = false

sourcetype = data_logs_operational
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;CODE&gt;etc/apps/Splunk_TA_windows/local/props.conf&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Note: I have also done &lt;CODE&gt;source::&lt;/CODE&gt; instead of &lt;CODE&gt;sourcetype&lt;/CODE&gt; with no luck.&lt;/EM&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[data_logs_debug]

TRANSFORMS-null=eliminate_info


[data_logs_tomcat]

TRANSFORMS-null=eliminate_info


[data_logs_operational]

TRANSFORMS-null=eliminate_info
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;CODE&gt;etc/apps/Splunk_TA_windows/local/transforms.conf&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[eliminate_info]

REGEX = .*(INFO|\(INFO\)|INFO\:).*

DEST_KEY = queue

FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Apr 2014 20:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143828#M29359</guid>
      <dc:creator>confma812</dc:creator>
      <dc:date>2014-04-25T20:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring nullQueue With Monitor and Sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143829#M29360</link>
      <description>&lt;P&gt;Am I right in guessing that all three of those .conf files reside on a Universal Forwarder?&lt;/P&gt;

&lt;P&gt;If so, move or copy props.conf and transforms.conf to the indexer(s).&lt;/P&gt;

&lt;P&gt;A note about your REGEX, that will be horribly inefficient. Replace &lt;CODE&gt;.*(INFO|\(INFO\)|INFO\:).*&lt;/CODE&gt; with &lt;CODE&gt;INFO&lt;/CODE&gt; - it'll match exactly the same events, but avoid insane amounts of backtracking caused by the &lt;CODE&gt;.*&lt;/CODE&gt; at the front. That matches everything anyway and its matches aren't captured, so leaving that off doesn't change anything. Leaving off your other two alternatives &lt;CODE&gt;\(INFO\)&lt;/CODE&gt; and &lt;CODE&gt;INFO\:&lt;/CODE&gt; doesn't change anything either, because &lt;CODE&gt;INFO&lt;/CODE&gt; already matches them.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2014 23:23:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143829#M29360</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-25T23:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring nullQueue With Monitor and Sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143830#M29361</link>
      <description>&lt;P&gt;Yes, it is using the Universal Forwarder. I assume since it's UF and not a Heavy Forwarder it can't drop at the forwarder level, but has to at the indexer level? &lt;/P&gt;

&lt;P&gt;A true point the regex, as I may just filter it down to &lt;CODE&gt;(INFO)&lt;/CODE&gt; and &lt;CODE&gt;INFO:&lt;/CODE&gt; since I'm looking for a particular format in my logs.&lt;/P&gt;

&lt;P&gt;And say once I configure that transform on the indexer, will the indexer start removing that indexed data, or will it only apply for newly indexed data?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:34:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143830#M29361</guid>
      <dc:creator>confma812</dc:creator>
      <dc:date>2014-04-28T14:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring nullQueue With Monitor and Sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143831#M29362</link>
      <description>&lt;P&gt;Yup, a UF does not parse/inspect its data. As a result, it cannot route or filter based on event content - usually that's done on the indexers.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:53:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143831#M29362</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-28T14:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring nullQueue With Monitor and Sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143832#M29363</link>
      <description>&lt;P&gt;Thank you. Good point on the regex - as I tested the efficiency of Splunk with and without the un-greedy approach (.*) and without it improved indexing speed tenfold.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 16:44:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143832#M29363</guid>
      <dc:creator>confma812</dc:creator>
      <dc:date>2014-04-28T16:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring nullQueue With Monitor and Sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143833#M29364</link>
      <description>&lt;P&gt;&lt;CODE&gt;.*&lt;/CODE&gt; is greedy, &lt;CODE&gt;.*?&lt;/CODE&gt; is non-greedy. Both are useless here though because they match everything and their matched string isn't used in the &lt;CODE&gt;FORMAT&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 16:54:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-nullQueue-With-Monitor-and-Sourcetype/m-p/143833#M29364</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-28T16:54:07Z</dc:date>
    </item>
  </channel>
</rss>

