[ 
https://issues.apache.org/jira/browse/NIFI-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068298#comment-15068298
 ] 

Scott commented on NIFI-958:
----------------------------

My use case for the PutFile is when using the Monitor Activity, I get a 
consistent flow of "Activity restored" or "Inactive for X Min" files, which I 
put into an update attribute to change the filename to be 
${now():format('yyyyMMdd')} and then the activity gets appended to the bottom 
of the file, rotating the file by day. 

I then have other processes, splunk for example that read that file and also 
allows us to tail -f in the same way we would a regular log file.

I am already using this in production, which is why I have only included the 
PutFile not the HDFS one as I have not used that yet.

Hope all that makes sense, if not let me know.

> Support appending to files for PutHDFS and PutFile
> --------------------------------------------------
>
>                 Key: NIFI-958
>                 URL: https://issues.apache.org/jira/browse/NIFI-958
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Randy Gelhausen
>             Fix For: 0.5.0
>
>         Attachments: putfile_append.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to