<?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: &amp;quot;Files &amp; Directories&amp;quot; Monitoring not reading all files? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120912#M25113</link>
    <description>&lt;P&gt;You could try to run: &lt;CODE&gt;splunk _internal call /services/admin/inputstatus/TailingProcessor:FileStatus&lt;/CODE&gt; from your forwarder to see if the tailing processor is reading, has read, or is skipping them. Please let us know what you find.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2015 16:11:24 GMT</pubDate>
    <dc:creator>jnussbaum_splun</dc:creator>
    <dc:date>2015-07-14T16:11:24Z</dc:date>
    <item>
      <title>"Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120909#M25110</link>
      <description>&lt;P&gt;So here's the deal; I've pulled down a week’s worth of logs in a hierarchically structured folder from our local server, where each log file is arranged like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\User\UserNameHere\…\DirectoryPathGivenToSplunk\HostHere\…\…\ApplicationHere\...\LogTree\DAY[1-7]\application.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I’ve passed this file tree into Splunk, giving it the &amp;lt;DirectoryPathGivenToSplunk&amp;gt; folder, and it indexed almost all of the files.  The key word being almost; some files don’t register as being indexed.  (i.e. their events aren't coming up in my searches.)  I’ve double-checked that I have no blacklists or whitelists being enforced on upload, that the file is present, the correct type, not empty/null, not read-only or hidden,  and that its contents are formatted properly; frankly, I’m stumped at what else may be causing the disconnect.  Any ideas?&lt;/P&gt;

&lt;P&gt;PS: I’m using Splunk Enterprise, (Trial…I think), Version 6.2.3 for Windows 7.  Please ask if more information is required.&lt;/P&gt;

&lt;P&gt;Edits: I've used the list monitor command, and double checked that the files whose logs are missing are indeed in the list of monitored files.  In addition, The entire file structure is only ~ 100MB, a mere fifth of my daily indexing volume, and immediately after indexing the directory, almost all the logs appear in searches, so I'm rather doubtful that it's an issue with volume or speed.  Even giving it 24+ hours to look for the missing files hasn't helped.  And before you ask, the sizes of the missing files aren't significantly bigger or smaller than any of the others.&lt;/P&gt;

&lt;P&gt;I would use a simpler file structure if given the chance, though I've been using the sources to contain information regarding the logs that aren't present in the logs themselves.  It would be an option to upload the missing files individually, if it weren't for 2 issues:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;There are about 30-40 missing files. (And that's just from a cursory glance.)&lt;/LI&gt;
&lt;LI&gt;As mentioned earlier, I'm trying to "smuggle" some data regarding the logs in their source file's paths; this would be lost if I were to just upload them individually.  (Monitor each missing file individually, you say?  Well, it's possible....)&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 13 Jul 2015 22:40:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120909#M25110</guid>
      <dc:creator>KLOSTR2</dc:creator>
      <dc:date>2015-07-13T22:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: "Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120910#M25111</link>
      <description>&lt;P&gt;Indexing is not instantaneous and if you have a big batch of fines on a forwarder, it is going to take a while for it to clear the backlog.  What does this show on one of your lagging forwarders:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk list monitor
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It probably shows all the files you are expecting but the single Splunk instance has not been able to get through them all yet.  How long have you given it?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 23:15:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120910#M25111</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-13T23:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: "Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120911#M25112</link>
      <description>&lt;P&gt;Make sure your files start differently, and for example don't have a long similar header. This may cause Splunk to think it's already seen the file and not index it due to log rotation.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 23:26:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120911#M25112</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-13T23:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: "Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120912#M25113</link>
      <description>&lt;P&gt;You could try to run: &lt;CODE&gt;splunk _internal call /services/admin/inputstatus/TailingProcessor:FileStatus&lt;/CODE&gt; from your forwarder to see if the tailing processor is reading, has read, or is skipping them. Please let us know what you find.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 16:11:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120912#M25113</guid>
      <dc:creator>jnussbaum_splun</dc:creator>
      <dc:date>2015-07-14T16:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: "Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120913#M25114</link>
      <description>&lt;P&gt;It seems that Splunk is smarter than I am...&lt;/P&gt;

&lt;P&gt;Upon closer inspection, the content of the "missing files" were just duplicates of the previous day's logs; as such, I don't believe &lt;BR /&gt;
Splunk saw fit to index the same event twice.  The problem was that my searches to make sure that all files were being monitored involved searching for the count of distinct sources; not for distinct events within the files themselves.  &lt;/P&gt;

&lt;P&gt;Takeaway lesson:  If you seem to have files that aren't being indexed, double-check that the contents aren't duplicates of already existing logs.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 17:27:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120913#M25114</guid>
      <dc:creator>KLOSTR2</dc:creator>
      <dc:date>2015-07-14T17:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: "Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120914#M25115</link>
      <description>&lt;P&gt;Please add crcSalt parameters to the inputs.conf so that splunk treats the files separately even if the first 256 bytes is matching.&lt;/P&gt;

&lt;P&gt;[monitor:///]&lt;BR /&gt;
index = temp&lt;BR /&gt;
*&lt;EM&gt;crcSalt = *&lt;/EM&gt; &amp;lt; SOURCE &amp;gt;&lt;BR /&gt;
ignoreOlderThan = 24h&lt;/P&gt;

&lt;P&gt;Please remove spaces between brackets and SOURCE.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 16:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120914#M25115</guid>
      <dc:creator>sharan928</dc:creator>
      <dc:date>2016-12-01T16:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: "Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120915#M25116</link>
      <description>&lt;P&gt;saved my day&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 18:09:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/120915#M25116</guid>
      <dc:creator>sumitsaha</dc:creator>
      <dc:date>2020-01-23T18:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: "Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/539975#M90419</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am the facing the same issue.&amp;nbsp; Logs are getting indexed only when I restart the forwarder, but do not index after that. I executed this command (&lt;SPAN&gt;splunk _internal call /services/admin/inputstatus/TailingProcessor:FileStatus&lt;/SPAN&gt;) in Forwarder and found that I do not see the newer file stanzas at all. Also I do not see watched file line also for the newer files which are not getting indexed. There is no connectivity issue to DS and Indexer.&amp;nbsp; I do not see any errors in splunkd.log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone pls help to troubleshoot or suggest where the issue could be &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 15:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/539975#M90419</guid>
      <dc:creator>santhoshi</dc:creator>
      <dc:date>2021-02-15T15:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: "Files &amp; Directories" Monitoring not reading all files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/641734#M109421</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226024"&gt;@santhoshi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Is your issue fixed. Can you please share solution if it is fixed. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 09:21:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/quot-Files-Directories-quot-Monitoring-not-reading-all-files/m-p/641734#M109421</guid>
      <dc:creator>ankitarath2011</dc:creator>
      <dc:date>2023-04-28T09:21:10Z</dc:date>
    </item>
  </channel>
</rss>

