Arpit Gupta created NIFI-3219:
---------------------------------
Summary: Tail File processor requires windows path to be escaped
Key: NIFI-3219
URL: https://issues.apache.org/jira/browse/NIFI-3219
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.1.0
Reporter: Arpit Gupta
When using the Tail File processor on windows and setting the file to tail to
{code}
C:\nifi\some-file.log
{code}
Processor complained that the path that was set is not a valid regex even
though mode was set to Single file.
When i escaped the path to set a value like
{code}
C:\\nifi\\some-file.log
{code}
It worked.
My flow was tail file -> put file. Put File processor was able to successfully
write the content to the directory passed even though the path was not escaped.
So i think we can improve Tail File processor to not require path's to be
escaped or update the documentation on how should one use this processor on
windows.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)