[ https://issues.apache.org/jira/browse/FLUME-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509820#comment-13509820 ]
Brock Noland commented on FLUME-1764: ------------------------------------- Echo'ing Roshan, could you explain again exactly what the problem is? > File_roll type Sink how to achieve according to multiple files dynamically > generated directory, and the file on the corresponding directory > ------------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLUME-1764 > URL: https://issues.apache.org/jira/browse/FLUME-1764 > Project: Flume > Issue Type: Improvement > Components: Sinks+Sources > Affects Versions: v1.4.0 > Reporter: zhouqingfa > Fix For: v1.4.0 > > > I want to achieve such a function:Source terminal(using the 'tail -f' command > of execSource)can dynamicly monitor a directory to get new files(such as > access_1045.log),then transfer immediately the new file to the local > directory(using FileRollSink type) and the file will reache such a > directory(The directory will be based on the file name dynamically > generated,for example,in the configuration > file,sink.directory=/opt/apps_install,then the file will be put such a > directory /opt/apps_install/1045).Finally,Source terminal can not only > minotor a directory and transter the new file to /opt/apps_install/......,but > also transfer immediately the new content of the file to the Corresponding > file in the directory.How to achieve such a function in the flume1.4.0. > Thanks...... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira