-Re: Using Flume *only* for tailing?
Israel Ekpo 2013-07-03, 21:03
I have not implemented this yet but check out the Apache Commons IO Library.
It has a set of classes that supports tailing files that could accomplish
what you are trying to do.
Here is how you can bring the maven dependency into your project:
On 25 June 2013 12:11, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
> I'm wondering if Flume (its ExecSource?) can be used separately from
> the rest of Flume?
> Specifically, I need to tail a log file from a Java app and then do
> something with each new line. I just want my Java app to get each new
> line from tailing and process it in some custom way. In other words,
> I don't really need Flume to be involved in anything beyond tailing
> Is that doable?
> Solr & ElasticSearch Support -- http://sematext.com/
> Performance Monitoring -- http://sematext.com/spm