<?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: Batch not indexing previously locked file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75384#M15377</link>
    <description>&lt;P&gt;Suggest taking a look at this:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/53046/apache-rotatelogsexe-interfering-with-splunk-indexing"&gt;http://splunk-base.splunk.com/answers/53046/apache-rotatelogsexe-interfering-with-splunk-indexing&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jul 2012 12:49:41 GMT</pubDate>
    <dc:creator>NiklasB</dc:creator>
    <dc:date>2012-07-17T12:49:41Z</dc:date>
    <item>
      <title>Batch not indexing previously locked file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75380#M15373</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a problem where batch input will not index files that was locked when Splunk first tried to index the file.&lt;/P&gt;

&lt;P&gt;The splunkd.log shows the following entries:&lt;/P&gt;

&lt;P&gt;02-20-2012 21:15:43.145 +0200 WARN  TailingProcessor - Will retry file='c:\data\data_20120220211543083.log' in 10000ms due to: The process cannot access the file because it is being used by another process.&lt;/P&gt;

&lt;P&gt;02-20-2012 21:15:53.005 +0200 ERROR TailingProcessor - Ignoring path due to: failed to open for checksum: 'c:\data\data_20120220211543083.log' (The process cannot access the file because it is being used by another process.)&lt;/P&gt;

&lt;P&gt;The file remains in the directory even after it is no longer locked and no further entries are found in splunkd.log for the file 12 hours after the initial entries.&lt;/P&gt;

&lt;P&gt;Other files that are not locked get indexed and deleted.&lt;/P&gt;

&lt;P&gt;How can I get Splunk to index the previously locked files?&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;BR /&gt;
[batch://c:\data]&lt;BR /&gt;
sourcetype=AuditData&lt;BR /&gt;
move_policy = sinkhole&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;System: Windows 2008 R2 64-bit,  Splunk 4.2.4&lt;/P&gt;

&lt;P&gt;Thx&lt;/P&gt;

&lt;P&gt;Joon&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2012 09:06:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75380#M15373</guid>
      <dc:creator>joonradley</dc:creator>
      <dc:date>2012-02-21T09:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Batch not indexing previously locked file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75381#M15374</link>
      <description>&lt;P&gt;did you try  moving the file into a subdirectory?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2012 10:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75381#M15374</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-02-21T10:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch not indexing previously locked file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75382#M15375</link>
      <description>&lt;P&gt;Thx, moving the files got them indexed, but it does not solve the underlying issue. The locked files do not get indexed.&lt;/P&gt;

&lt;P&gt;Any ideas on that?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2012 12:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75382#M15375</guid>
      <dc:creator>joonradley</dc:creator>
      <dc:date>2012-02-21T12:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Batch not indexing previously locked file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75383#M15376</link>
      <description>&lt;P&gt;I am not in batch mode locked files can be indexed if they are being used by another process...I know it does when on monitor mode&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2012 12:28:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75383#M15376</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-02-21T12:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Batch not indexing previously locked file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75384#M15377</link>
      <description>&lt;P&gt;Suggest taking a look at this:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/53046/apache-rotatelogsexe-interfering-with-splunk-indexing"&gt;http://splunk-base.splunk.com/answers/53046/apache-rotatelogsexe-interfering-with-splunk-indexing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2012 12:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Batch-not-indexing-previously-locked-file/m-p/75384#M15377</guid>
      <dc:creator>NiklasB</dc:creator>
      <dc:date>2012-07-17T12:49:41Z</dc:date>
    </item>
  </channel>
</rss>

