Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume, mail # dev - spooldir ignore pattern


Copy link to this message
-
Re: spooldir ignore pattern
Brenden Cobb 2013-10-18, 17:45
Found an answer. A regular regex for the end of a file was not working,
but beginning of a file works ok.

For example:

Source spoolDir

ignorePattern=\.hide$
Does not work

ignorePattern=^hide\.*
DOES work

Thanks

On 10/16/13 3:25 PM, "Brenden Cobb" <[EMAIL PROTECTED]> wrote:

>Documentation lists this parameter as used for ignoring filenames based
>on a regex.
>
>Does anyone have a working example of excluding a filename with a
>specific extension? Having trouble with the setting.
>