You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by Brenden Cobb <Br...@humedica.com> on 2013/10/16 21:25:52 UTC

spooldir ignore pattern

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.


Re: spooldir ignore pattern

Posted by Brenden Cobb <Br...@humedica.com>.
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" <Br...@humedica.com> 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.
>