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 


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

View raw message