You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by "M@he$h" <ma...@gmail.com> on 2012/05/18 01:01:40 UTC
tailDir
Hello,
we are doing reasearch about using flume to collect logs from the servers
and I have got flume working using tail command as of now , but I want to
use tailDir command to collect logs from many files. the file names will be
of the format :
1) dch.log.05172012
2) lmf.log.05172012
I want tailDir to tail the above files only and not any other files in the
directory like lmf.log.05172012.15 i.e can I use below command to do this:
*tailDir("/usr/local/current/logs/", "omq.log.%m%d%Y" , "true")*
--
*Thanks and Regards,
*
Mahesh
619-816-7011.