flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yingnan.ma" <yingnan...@ipinyou.com>
Subject fileregex in sink
Date Mon, 26 Nov 2012 03:47:05 GMT

I want to use fileregex to match the following file 

3.ttb.uned.log.201112341205
C.ttb.ed.log.201111230803 

and I use the tailDir( "/data/test/", "\w+\.adx\.\w+\.log\.\w+", true, 1 ) 

But It can not work, because the regex argument requires java style escaping of \ and \".

Now , I donot know how to address the problem, Any idea would be usefull, Thank you for you
help.

Mime
View raw message