<?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: nullQueue difficulty in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47527#M9019</link>
    <description>&lt;P&gt;I think the problem may be this (I am doing some guessing here):&lt;/P&gt;

&lt;P&gt;You are monitoring a directory and have Splunk doing automatic sourcetyping - which is appropriate. I expect that nothing has overriden this setting. When Splunk can't figure out a sourcetype for an input because there is insufficient data, it defaults the sourcetype to "somename-too_small".&lt;/P&gt;

&lt;P&gt;Your configuration specifies that &lt;STRONG&gt;all&lt;/STRONG&gt; data of this sourcetype is to be ignored.&lt;/P&gt;

&lt;P&gt;But there isn't really any data that has been assigned this sourcetype - it's an artifact of Splunk's parsing. I think it should work anyway, but it doesn't seem to. I don't think you will find any help with btool because of this.&lt;/P&gt;

&lt;P&gt;BUT - I think there are better ways to solve this problem. Assigning data to the null queue is relatively inefficient and should be a last resort anyway. Here are some other ideas&lt;/P&gt;

&lt;P&gt;1 - If you don't want any data from this file, blacklist it in the inputs.  Find the input that is collecting the directory where this file lives, and put in a blacklist entry for the name of the file. &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Whitelistorblacklistspecificincomingdata"&gt;More info about blacklisting an input&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;2 - If you want the data, but just don't want it to show up as "somename-too_small", override the sourcetype name in props.conf &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Bypassautomaticsourcetypeassignment"&gt;More info on overriding the automatic sourcetype&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2012 01:29:30 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2012-11-29T01:29:30Z</dc:date>
    <item>
      <title>nullQueue difficulty</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47521#M9013</link>
      <description>&lt;P&gt;I am trying configure Splunk to ignore certain events using the standard nullQueue configuration described in the docs as well as on this site but am not getting any desired results.  I have even gone as far as to configure an isolated sample sourcetype to ignore every event using the provided [send_to_nullqueue].  I am certain that I am missing something minor with my configuration.  What are the most common oversights that might be the source of my issue?&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[splunk_mv_test-too_small]&lt;BR /&gt;
TRANSFORMS-null=send_to_nullqueue&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[send_to_nullqueue]&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47521#M9013</guid>
      <dc:creator>cgnoel</dc:creator>
      <dc:date>2020-09-28T12:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue difficulty</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47522#M9014</link>
      <description>&lt;P&gt;Could you paste your config? we might be able to spot the error!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 15:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47522#M9014</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-11-28T15:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue difficulty</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47523#M9015</link>
      <description>&lt;P&gt;Where are you doing this, on the indexer or on a forwarder?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 15:55:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47523#M9015</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-11-28T15:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue difficulty</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47524#M9016</link>
      <description>&lt;P&gt;Indexer.  I'm attempting to apply this to existing indexes (restarting Splunk).&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 15:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47524#M9016</guid>
      <dc:creator>cgnoel</dc:creator>
      <dc:date>2012-11-28T15:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue difficulty</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47525#M9017</link>
      <description>&lt;P&gt;How likely is it that something is overriding this setting?  What would be a good way to troubleshoot this?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 17:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47525#M9017</guid>
      <dc:creator>cgnoel</dc:creator>
      <dc:date>2012-11-28T17:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue difficulty</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47526#M9018</link>
      <description>&lt;P&gt;Are you sure that you've got data coming in with this sourcetype? You could also look at btool to make sure splunk sees the config. From $SPLUNK_HOME/bin/ run 'splunk cmd btool transforms list --debug'&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 20:10:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47526#M9018</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2012-11-28T20:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue difficulty</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47527#M9019</link>
      <description>&lt;P&gt;I think the problem may be this (I am doing some guessing here):&lt;/P&gt;

&lt;P&gt;You are monitoring a directory and have Splunk doing automatic sourcetyping - which is appropriate. I expect that nothing has overriden this setting. When Splunk can't figure out a sourcetype for an input because there is insufficient data, it defaults the sourcetype to "somename-too_small".&lt;/P&gt;

&lt;P&gt;Your configuration specifies that &lt;STRONG&gt;all&lt;/STRONG&gt; data of this sourcetype is to be ignored.&lt;/P&gt;

&lt;P&gt;But there isn't really any data that has been assigned this sourcetype - it's an artifact of Splunk's parsing. I think it should work anyway, but it doesn't seem to. I don't think you will find any help with btool because of this.&lt;/P&gt;

&lt;P&gt;BUT - I think there are better ways to solve this problem. Assigning data to the null queue is relatively inefficient and should be a last resort anyway. Here are some other ideas&lt;/P&gt;

&lt;P&gt;1 - If you don't want any data from this file, blacklist it in the inputs.  Find the input that is collecting the directory where this file lives, and put in a blacklist entry for the name of the file. &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Whitelistorblacklistspecificincomingdata"&gt;More info about blacklisting an input&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;2 - If you want the data, but just don't want it to show up as "somename-too_small", override the sourcetype name in props.conf &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Bypassautomaticsourcetypeassignment"&gt;More info on overriding the automatic sourcetype&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2012 01:29:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-difficulty/m-p/47527#M9019</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-11-29T01:29:30Z</dc:date>
    </item>
  </channel>
</rss>

