<?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 splunk universal forwarder batch input forwarding but not deleting in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-universal-forwarder-batch-input-forwarding-but-not/m-p/294499#M55950</link>
    <description>&lt;P&gt;Hi, we have an indexer cluster, to which we index many many small files.&lt;BR /&gt;
we have about a few hundreds thousand files.&lt;BR /&gt;
we run a universal forwarder on a strong machine(130GB 24CPU) and have a batch input on local directory.&lt;BR /&gt;
our problem is as follows:&lt;BR /&gt;
the data is indexed very slowly, and also the batch input is freaking a little....&lt;BR /&gt;
it used to write logs about every indexed file("Batch input finished reading file..."), but now it writes a few, than stops, than continue to forward data but doesn't delete the files.&lt;BR /&gt;
the only log we can see is when we turn on DEBUG level logging.&lt;BR /&gt;
I have checked the logs and I dont have any blocked queues.&lt;/P&gt;

&lt;P&gt;We would really appreciate if anyone would either have a reasonable explanation for the problem i'm having, or if someone will be able to suggest another way of indexing this immense amount of files.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 20:38:39 GMT</pubDate>
    <dc:creator>stamstam</dc:creator>
    <dc:date>2018-03-27T20:38:39Z</dc:date>
    <item>
      <title>splunk universal forwarder batch input forwarding but not deleting</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-universal-forwarder-batch-input-forwarding-but-not/m-p/294499#M55950</link>
      <description>&lt;P&gt;Hi, we have an indexer cluster, to which we index many many small files.&lt;BR /&gt;
we have about a few hundreds thousand files.&lt;BR /&gt;
we run a universal forwarder on a strong machine(130GB 24CPU) and have a batch input on local directory.&lt;BR /&gt;
our problem is as follows:&lt;BR /&gt;
the data is indexed very slowly, and also the batch input is freaking a little....&lt;BR /&gt;
it used to write logs about every indexed file("Batch input finished reading file..."), but now it writes a few, than stops, than continue to forward data but doesn't delete the files.&lt;BR /&gt;
the only log we can see is when we turn on DEBUG level logging.&lt;BR /&gt;
I have checked the logs and I dont have any blocked queues.&lt;/P&gt;

&lt;P&gt;We would really appreciate if anyone would either have a reasonable explanation for the problem i'm having, or if someone will be able to suggest another way of indexing this immense amount of files.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 20:38:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-universal-forwarder-batch-input-forwarding-but-not/m-p/294499#M55950</guid>
      <dc:creator>stamstam</dc:creator>
      <dc:date>2018-03-27T20:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: splunk universal forwarder batch input forwarding but not deleting</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-universal-forwarder-batch-input-forwarding-but-not/m-p/294500#M55951</link>
      <description>&lt;P&gt;Few hundreds thousands files can be too many for a single Universal Forwarder instance. Can you check what the CPU percentage of the Splunk process on that box?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 22:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-universal-forwarder-batch-input-forwarding-but-not/m-p/294500#M55951</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-03-27T22:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: splunk universal forwarder batch input forwarding but not deleting</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-universal-forwarder-batch-input-forwarding-but-not/m-p/294501#M55952</link>
      <description>&lt;P&gt;If your UF is running on Windows the files might have chances to get locked by its associated processes. You may run procmon tool to determine to analyse this.&lt;BR /&gt;
Also Check the file system permissions to verify that the UF has rights to delete the files &lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:35:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-universal-forwarder-batch-input-forwarding-but-not/m-p/294501#M55952</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2018-03-29T06:35:02Z</dc:date>
    </item>
  </channel>
</rss>

