<?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: How to debug why a universal forwarder is reading all log files except one? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181772#M36437</link>
    <description>&lt;P&gt;Check file level permissions and make sure the user splunk is running as can read/execute on those files. &lt;/P&gt;

&lt;P&gt;Additionally, is this a distributed environment? If so, what does your outputs.conf look like? &lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2014 16:29:56 GMT</pubDate>
    <dc:creator>esix_splunk</dc:creator>
    <dc:date>2014-10-23T16:29:56Z</dc:date>
    <item>
      <title>How to debug why a universal forwarder is reading all log files except one?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181771#M36436</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have configured inputs.conf on a universal forwarder. The file contains around 20 entries for log files, however one of them is not being read by Splunk. &lt;/P&gt;

&lt;P&gt;Within splunkd I can see:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10-23-2014 14:59:17.762 +0100 INFO  TailingProcessor - Parsing configuration stanza: monitor://C:\my\dir\logfile.log.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would then expect to see:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TailingProcessor - Adding watch on path for file &amp;lt;…&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;WatchedFile - Will begin reading at offset=61873 for file &amp;lt;…&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I never see this. I have performed the following debug steps:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Run "splunk cmd btool inputs list --debug". This shows the stanza in question.&lt;/LI&gt;
&lt;LI&gt;Checked "&lt;A href="https://localhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus"&gt;https://localhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus&lt;/A&gt;" which does not show any errors of the input being skipped.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;How can I debug this further? The universalforwarder is sending data from other log files on this host ok so it isn't a connection issue.&lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
DS&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 15:50:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181771#M36436</guid>
      <dc:creator>darthsplunk</dc:creator>
      <dc:date>2014-10-23T15:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug why a universal forwarder is reading all log files except one?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181772#M36437</link>
      <description>&lt;P&gt;Check file level permissions and make sure the user splunk is running as can read/execute on those files. &lt;/P&gt;

&lt;P&gt;Additionally, is this a distributed environment? If so, what does your outputs.conf look like? &lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 16:29:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181772#M36437</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2014-10-23T16:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug why a universal forwarder is reading all log files except one?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181773#M36438</link>
      <description>&lt;P&gt;You should search the _internal index for any reference to the log file name in question.  Some issues I have seen in the field are: thruput set to low (forwarder is not able to consume the log before it rolls), permissions issues (splunk doesn't have read access to the log file.)  &lt;/P&gt;

&lt;P&gt;What is the version of Splunk forwarder in question?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181773#M36438</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2014-10-23T21:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug why a universal forwarder is reading all log files except one?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181774#M36439</link>
      <description>&lt;P&gt;Adding watch on path is for the common parent of the monitored locations.  Do you have monitors on directories that are above that location, such as &lt;CODE&gt;c:\my&lt;/CODE&gt; or &lt;CODE&gt;c:\my\dir&lt;/CODE&gt;?  What is the set of directories that you see for these lines?  What is the set of monitor stanzas that you have?&lt;/P&gt;

&lt;P&gt;Do you have any messages relating to logfile.log in splunkd.log at all?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2014 05:07:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181774#M36439</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2014-10-24T05:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug why a universal forwarder is reading all log files except one?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181775#M36440</link>
      <description>&lt;P&gt;It turned out to be an issue with other entries in the inputs.conf where wildcards were in use. These were corrected and the inputs work as expected. Thanks all.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 16:20:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181775#M36440</guid>
      <dc:creator>darthsplunk</dc:creator>
      <dc:date>2015-02-24T16:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug why a universal forwarder is reading all log files except one?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181776#M36441</link>
      <description>&lt;P&gt;I have same problem. Plz let's show me how do you fix it. thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 09:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-why-a-universal-forwarder-is-reading-all-log-files/m-p/181776#M36441</guid>
      <dc:creator>dailv1808</dc:creator>
      <dc:date>2017-07-26T09:26:50Z</dc:date>
    </item>
  </channel>
</rss>

