<?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: Splunk unable to read files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376842#M94307</link>
    <description>&lt;P&gt;Yes, I can sudo to splunk user and view the file. &lt;/P&gt;</description>
    <pubDate>Thu, 26 Jul 2018 21:32:05 GMT</pubDate>
    <dc:creator>ankithreddy777</dc:creator>
    <dc:date>2018-07-26T21:32:05Z</dc:date>
    <item>
      <title>Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376836#M94301</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Splunk UF is setup to read files from particular directory. It reads files normally for few minutes, but suddenly it throws an error &lt;/P&gt;

&lt;P&gt;WARN  FilesystemChangeWatcher - error reading directory "xxxx/xxxx/xxx": Permission denied&lt;/P&gt;

&lt;P&gt;Again when we reinstall splunk it reads normally and stops after few minutes showing permission denied. &lt;/P&gt;

&lt;P&gt;May I know, Is there any reason that it suddenly shows permission denied error after reading half of the file.&lt;/P&gt;

&lt;P&gt;Is there any possibility that when a file is written by some other process , It blocks other process to read the file?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 19:50:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376836#M94301</guid>
      <dc:creator>ankithreddy777</dc:creator>
      <dc:date>2018-07-26T19:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376837#M94302</link>
      <description>&lt;P&gt;This a UF on windows or linux?  What's OS / splunk UF version?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 19:52:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376837#M94302</guid>
      <dc:creator>hortonew</dc:creator>
      <dc:date>2018-07-26T19:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376838#M94303</link>
      <description>&lt;P&gt;UF on linux.  Redhat 7, splunk UF 6.5.7&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 20:00:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376838#M94303</guid>
      <dc:creator>ankithreddy777</dc:creator>
      <dc:date>2018-07-26T20:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376839#M94304</link>
      <description>&lt;P&gt;Are the ones that are failing in /var/log ?  Can you confirm if you've set permissions there manually or have configured a custom umask on them that will allow "other" or a group the splunk user is part of to read/execute on directories and read files?   Also can you confirm that you're not manually setting permissions there when you reinstall splunk, it "just works" after the reinstall. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 20:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376839#M94304</guid>
      <dc:creator>hortonew</dc:creator>
      <dc:date>2018-07-26T20:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376840#M94305</link>
      <description>&lt;P&gt;Splunk user is the part of the same group the file is part of&lt;BR /&gt;
Ex:&lt;BR /&gt;&lt;BR /&gt;
drwxrwx---   user    abc    wer.log&lt;BR /&gt;&lt;BR /&gt;
Splunk user is part of abc group who has read permissions.&lt;BR /&gt;
I haven't set any Manuel permissions&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 20:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376840#M94305</guid>
      <dc:creator>ankithreddy777</dc:creator>
      <dc:date>2018-07-26T20:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376841#M94306</link>
      <description>&lt;P&gt;Can you change to the splunk user (su - splunk) when the error occurs and &lt;CODE&gt;less &amp;lt;file.log&amp;gt;&lt;/CODE&gt; without issue?  &lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 20:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376841#M94306</guid>
      <dc:creator>hortonew</dc:creator>
      <dc:date>2018-07-26T20:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376842#M94307</link>
      <description>&lt;P&gt;Yes, I can sudo to splunk user and view the file. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 21:32:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376842#M94307</guid>
      <dc:creator>ankithreddy777</dc:creator>
      <dc:date>2018-07-26T21:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376843#M94308</link>
      <description>&lt;P&gt;have you checked the permission for that directory and if the user running splunk had read permissions for that directory?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 07:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376843#M94308</guid>
      <dc:creator>RohitMu</dc:creator>
      <dc:date>2018-07-27T07:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk unable to read files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376844#M94309</link>
      <description>&lt;P&gt;yes there are sufficient permissions. We could sudo to splunk user and open files to read&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 13:53:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-unable-to-read-files/m-p/376844#M94309</guid>
      <dc:creator>ankithreddy777</dc:creator>
      <dc:date>2018-07-27T13:53:45Z</dc:date>
    </item>
  </channel>
</rss>

