<?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 WARN FileClassifierManager: The file is invalid. Reason: cannot_open in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/WARN-FileClassifierManager-The-file-is-invalid-Reason-cannot/m-p/475230#M81578</link>
    <description>&lt;P&gt;I have a watched file on a Universal Forwarder (Windows) and the file is send to the Heavy Forwarder (linux), but some file are not indexed, and some are indexed. This is the configuration on inputs.conf (Heavy Forwarder):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O0055xxxxx_xxxxxx_*.CSV]
index=index_xxx
source=ccc:ccc
sourcetype=ccc:ccc
disabled = 0
time_before_close = 60
multiline_event_extra_waittime = true
initCrcLength = 512
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm getting these errors:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11/1/19 7:33:12.398 PM11-01-2019 19:33:12.398 -0300 WARN  FileClassifierManager - The file 'D:\Dados\xx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O0055xxxx_xxxx_20191101190001.CSV' is invalid. Reason: cannot_open
host = xxxx  index = _internalsource = C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.logsourcetype = splunkd

11/1/19 7:33:12.398 PM 11-01-2019 19:33:12.398 -0300 WARN  FileClassifierManager - Unable to open 'D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O00555xxxx_xxxx_20191101190001.CSV'. host = xxxx index = _internalsource = C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.logsourcetype = splunkd

11/1/197:33:12.398 PM 11-01-2019 19:33:12.398 -0300 ERROR TailReader - error from read call from 'D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O00555xxxx_xxxx_20191101190001.CSV'. host = SRVCNFS02index = _internalsource = C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.logsourcetype = splunkd

11/1/19 7:33:12.398 PM  11-01-2019 19:33:12.398 -0300 WARN  FileClassifierManager - The file 'D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O00555xxxx_xxxx_20191101190001.CSV' is invalid. Reason: cannot_open
host = xxxx index = _internalsource = C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.logsourcetype = splunkd

11/1/19 7:33:12.398 PM 11-01-2019 19:33:12.398 -0300 WARN  FileClassifierManager - Unable to open 'D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O00555xxxx_xxxx_20191101190001.CSV'.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does anyone know what is wrong?&lt;/P&gt;

&lt;P&gt;Thnak you!&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2019 17:33:56 GMT</pubDate>
    <dc:creator>leticiamartello</dc:creator>
    <dc:date>2019-11-04T17:33:56Z</dc:date>
    <item>
      <title>WARN FileClassifierManager: The file is invalid. Reason: cannot_open</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WARN-FileClassifierManager-The-file-is-invalid-Reason-cannot/m-p/475230#M81578</link>
      <description>&lt;P&gt;I have a watched file on a Universal Forwarder (Windows) and the file is send to the Heavy Forwarder (linux), but some file are not indexed, and some are indexed. This is the configuration on inputs.conf (Heavy Forwarder):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O0055xxxxx_xxxxxx_*.CSV]
index=index_xxx
source=ccc:ccc
sourcetype=ccc:ccc
disabled = 0
time_before_close = 60
multiline_event_extra_waittime = true
initCrcLength = 512
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm getting these errors:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11/1/19 7:33:12.398 PM11-01-2019 19:33:12.398 -0300 WARN  FileClassifierManager - The file 'D:\Dados\xx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O0055xxxx_xxxx_20191101190001.CSV' is invalid. Reason: cannot_open
host = xxxx  index = _internalsource = C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.logsourcetype = splunkd

11/1/19 7:33:12.398 PM 11-01-2019 19:33:12.398 -0300 WARN  FileClassifierManager - Unable to open 'D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O00555xxxx_xxxx_20191101190001.CSV'. host = xxxx index = _internalsource = C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.logsourcetype = splunkd

11/1/197:33:12.398 PM 11-01-2019 19:33:12.398 -0300 ERROR TailReader - error from read call from 'D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O00555xxxx_xxxx_20191101190001.CSV'. host = SRVCNFS02index = _internalsource = C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.logsourcetype = splunkd

11/1/19 7:33:12.398 PM  11-01-2019 19:33:12.398 -0300 WARN  FileClassifierManager - The file 'D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O00555xxxx_xxxx_20191101190001.CSV' is invalid. Reason: cannot_open
host = xxxx index = _internalsource = C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.logsourcetype = splunkd

11/1/19 7:33:12.398 PM 11-01-2019 19:33:12.398 -0300 WARN  FileClassifierManager - Unable to open 'D:\Dados\xxx\Compartilhado\TECNOL~1\MONITO~1\TransUnion2Splunk\O00555xxxx_xxxx_20191101190001.CSV'.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does anyone know what is wrong?&lt;/P&gt;

&lt;P&gt;Thnak you!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 17:33:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WARN-FileClassifierManager-The-file-is-invalid-Reason-cannot/m-p/475230#M81578</guid>
      <dc:creator>leticiamartello</dc:creator>
      <dc:date>2019-11-04T17:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: WARN FileClassifierManager: The file is invalid. Reason: cannot_open</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WARN-FileClassifierManager-The-file-is-invalid-Reason-cannot/m-p/475231#M81579</link>
      <description>&lt;P&gt;Splunk cannot read the file because it does not have the required permissions.&lt;BR /&gt;
Though I'm not a Windows guru (far from it), this is similar to Splunk running as the "splunk" user, and trying to monitor files owned by root. &lt;BR /&gt;
Change the ownership or privileges on the directory, or change the account that Splunk itself runs as.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 05:37:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WARN-FileClassifierManager-The-file-is-invalid-Reason-cannot/m-p/475231#M81579</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-11-15T05:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: WARN FileClassifierManager: The file is invalid. Reason: cannot_open</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WARN-FileClassifierManager-The-file-is-invalid-Reason-cannot/m-p/510507#M86774</link>
      <description>&lt;P&gt;I'm having the same issue.&amp;nbsp; I double checked and the account that Splunk is running under has Full Control of both the file and the folder.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 18:16:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WARN-FileClassifierManager-The-file-is-invalid-Reason-cannot/m-p/510507#M86774</guid>
      <dc:creator>corey_dick</dc:creator>
      <dc:date>2020-07-22T18:16:35Z</dc:date>
    </item>
  </channel>
</rss>

