<?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: Issues Monitoring Fast Rotating Logs - UNIX in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Issues-Monitoring-Fast-Rotating-Logs-UNIX/m-p/161983#M7831</link>
    <description>&lt;P&gt;Agreed.  There's nothing you can do here other than to increase the amount of the time the file sticks around.&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2014 00:58:25 GMT</pubDate>
    <dc:creator>amrit</dc:creator>
    <dc:date>2014-05-14T00:58:25Z</dc:date>
    <item>
      <title>Issues Monitoring Fast Rotating Logs - UNIX</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Issues-Monitoring-Fast-Rotating-Logs-UNIX/m-p/161981#M7829</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am running into a few errors on my host that is monitoring some logs in RHEL. One of the logs in question could write, fill up, close and rewrite again, all within a second. &lt;/P&gt;

&lt;P&gt;A few errors in my splunkd on the host:&lt;/P&gt;

&lt;P&gt;05-12-2014 13:25:29.087 -0700 ERROR WatchedFile - Error reading file 'LOG LOCATION': Stale NFS file handle&lt;/P&gt;

&lt;P&gt;05-12-2014 13:25:29.087 -0700 ERROR TailingProcessor - error from read call from 'LOG LOCATION'.&lt;/P&gt;

&lt;P&gt;05-12-2014 13:26:24.187 -0700 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='LOG LOCATION'&lt;BR /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;

&lt;P&gt;I am running crcSalt = &lt;SOURCE&gt; and am still experiencing the problem. I've looked throughout Answers but Im not sure exactly what is causing this problem, if it's a problem with the speed at which the file is written to, an issue where Splunk thinks it has already read the file or something else. &lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;Anyone have any ideas?&lt;/P&gt;

&lt;P&gt;Thanks in advance! &lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 14:20:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Issues-Monitoring-Fast-Rotating-Logs-UNIX/m-p/161981#M7829</guid>
      <dc:creator>glancaster</dc:creator>
      <dc:date>2014-05-13T14:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Monitoring Fast Rotating Logs - UNIX</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Issues-Monitoring-Fast-Rotating-Logs-UNIX/m-p/161982#M7830</link>
      <description>&lt;P&gt;It is unlikely the &lt;CODE&gt;crcSalt&lt;/CODE&gt; option is going to help you in this case.  This sounds like a fairly classic race condition.  One of the things splunk does is to &lt;CODE&gt;stat(2)&lt;/CODE&gt; a file to see if the modtime / size has changed.  If your files are completely changing in a very short period of time, then it could be changed out-from-under splunk between the &lt;CODE&gt;stat()&lt;/CODE&gt; call and the &lt;CODE&gt;open()&lt;/CODE&gt; call. &lt;/P&gt;

&lt;P&gt;It probably won't work, but you can try the &lt;CODE&gt;time_before_close&lt;/CODE&gt; option and the &lt;CODE&gt;always_open_file&lt;/CODE&gt; options in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;.   These may help (but most likely will not - race conditions are hard)&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 22:36:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Issues-Monitoring-Fast-Rotating-Logs-UNIX/m-p/161982#M7830</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2014-05-13T22:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Monitoring Fast Rotating Logs - UNIX</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Issues-Monitoring-Fast-Rotating-Logs-UNIX/m-p/161983#M7831</link>
      <description>&lt;P&gt;Agreed.  There's nothing you can do here other than to increase the amount of the time the file sticks around.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 00:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Issues-Monitoring-Fast-Rotating-Logs-UNIX/m-p/161983#M7831</guid>
      <dc:creator>amrit</dc:creator>
      <dc:date>2014-05-14T00:58:25Z</dc:date>
    </item>
  </channel>
</rss>

