On Mon, Dec 16, 2013 at 1:09 PM, Radu Gheorghe <[email protected]>wrote:

> One comment regarding the equivalent of the Spooling Directory
> Source<
> http://flume.apache.org/FlumeUserGuide.html#spooling-directory-source>in
> Flume:
>
> rsyslog has a state file where it monitors where it left off. So (in
> theory, at least), if the output blocks and the queues fill up, the app can
> continue to write to that file and rsyslog will be able to continue where
> it left off.
>
> Though I'm not sure what happens if the file also rotates during the
> process - if it can keep track. I think it should keep track, just like it
> can do that during "normal" operation.
>
>
one rotation is fine, so file n and n+1 are ok, but if we process file n,
n+1 is created and than n+2 (WIHTOUT n being finished yet), n+1 is lost.

Rainer

>
> 2013/12/16 Otis Gospodnetic <[email protected]>
>
> > Hi,
> >
> > I was reading about http://www.rsyslog.com/doc/imfile.html  trying to
> > understand how (well) it handles files being moved, replaced, and
> > truncated.  (not 100% sure how file move/replace and truncation are
> > actually handled after reading the above page actually)
> >
> > Then I wondered if inotify was being used or not, when I spotted a
> mention
> > of that.  A search later I found
> > http://bugzilla.adiscon.com/show_bug.cgi?id=30 . Nice...
> >
> > Finally, I wondered if something similar to
> >
> http://flume.apache.org/FlumeUserGuide.html#spooling-directory-sourceexists
> > ?
> >
> > Thanks,
> > Otis
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com/professional-services/
> > What's up with rsyslog? Follow https://twitter.com/rgerhards
> > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> > DON'T LIKE THAT.
> >
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to