05-15-2018 03:07 AM - edited 05-15-2018 03:09 AM
I don't understand how includePattern works in Flume. It should accept a regular expression, but the only one that is working to me is the following:
# accepts only .zip files agent.sources.src1.includePattern=^.*\.zip$
But if for example I want to match only files with format WWWW.DDDDD.zip (e.g. abc.123.zip) the followings does not work:
Does anyone know how regex expressions work in Flume?