<?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 batch stanza in inputs.conf with nullQueue not processing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/batch-stanza-in-inputs-conf-with-nullQueue-not-processing/m-p/232459#M45334</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a batch stanza in my inputs.conf file of my application.  I would like to use it to remove old files from the application that could be causing problems for the users.  Here is an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[batch://C:\Program Files\Splunk\etc\apps\&amp;lt;myApp&amp;gt;\local\ui\views\Old_View_File.xml]
disabled = false
queue=nullQueue
move_policy=sinkhole
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It appears that Splunk is noticing the requested input, due to the _internal DB log files, but the requested file is not being processed and removed.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;Thx.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2016 22:24:03 GMT</pubDate>
    <dc:creator>kenoski</dc:creator>
    <dc:date>2016-03-04T22:24:03Z</dc:date>
    <item>
      <title>batch stanza in inputs.conf with nullQueue not processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/batch-stanza-in-inputs-conf-with-nullQueue-not-processing/m-p/232459#M45334</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a batch stanza in my inputs.conf file of my application.  I would like to use it to remove old files from the application that could be causing problems for the users.  Here is an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[batch://C:\Program Files\Splunk\etc\apps\&amp;lt;myApp&amp;gt;\local\ui\views\Old_View_File.xml]
disabled = false
queue=nullQueue
move_policy=sinkhole
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It appears that Splunk is noticing the requested input, due to the _internal DB log files, but the requested file is not being processed and removed.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;Thx.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 22:24:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/batch-stanza-in-inputs-conf-with-nullQueue-not-processing/m-p/232459#M45334</guid>
      <dc:creator>kenoski</dc:creator>
      <dc:date>2016-03-04T22:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: batch stanza in inputs.conf with nullQueue not processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/batch-stanza-in-inputs-conf-with-nullQueue-not-processing/m-p/232460#M45335</link>
      <description>&lt;P&gt;THe possible values of attribute &lt;CODE&gt;queue&lt;/CODE&gt; in inputs.conf are &lt;CODE&gt;parsingQueue|indexQueue&lt;/CODE&gt;. That's why it's not processing the file at all.&lt;/P&gt;

&lt;P&gt;Instead of writing a batch input (and you need to setup a props/transforms on Heavy forwarder/Indexer to &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;route the data&lt;/A&gt; to nullQueue) why don't you setup scheduler task on the server OR setup a &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ScriptedInputsIntro"&gt;scripted input&lt;/A&gt; with the script deleting you unwanted files. &lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 23:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/batch-stanza-in-inputs-conf-with-nullQueue-not-processing/m-p/232460#M45335</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-03-04T23:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: batch stanza in inputs.conf with nullQueue not processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/batch-stanza-in-inputs-conf-with-nullQueue-not-processing/m-p/232461#M45336</link>
      <description>&lt;P&gt;I had a Splunk Support case open asking how to remove files, and they suggested the batch and inputs.conf file method with nullQueue......they just forgot to mention that I would need to to do the other modifications also.&lt;/P&gt;

&lt;P&gt;I'll give the scripted input a try.&lt;/P&gt;

&lt;P&gt;thx.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 20:13:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/batch-stanza-in-inputs-conf-with-nullQueue-not-processing/m-p/232461#M45336</guid>
      <dc:creator>kenoski</dc:creator>
      <dc:date>2016-03-16T20:13:24Z</dc:date>
    </item>
  </channel>
</rss>

