You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by "Hammerman, Joseph" <Jo...@clearchannel.com> on 2011/10/05 20:04:02 UTC
Question regarding roll behavior
Hi Flume-users.
Is it possible to coordinate the roll of the roll sink file with the the
roll of the source file initiated by logrotate?
Thanks,
Joe
Re: Question regarding roll behavior
Posted by Mingjie Lai <mj...@gmail.com>.
Not sure I understand correctly or not.
Have you tried something like this?
bin/flume node_nowatch -1 -s -n n1 -c 'n1: tailDir("/tmp/aaa") |
collectorSink("file:///tmp/bbb/", "%{tailSrcFile}-");'
-mingjie
On 10/05/2011 11:04 AM, Hammerman, Joseph wrote:
> Hi Flume-users.
>
> Is it possible to coordinate the roll of the roll sink file with the the
> roll of the source file initiated by logrotate?
>
> Thanks,
> Joe
>
>