[ 
https://issues.apache.org/jira/browse/FLUME-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391013#comment-15391013
 ] 

tinawenqiao edited comment on FLUME-2960 at 7/24/16 10:16 AM:
--------------------------------------------------------------

FLUME-2960_1.patch: Support wildcards in directory name. The following config 
is allowed:
a1.sources.r1.filegroups.f1 = /fg1/*/subdir/file.*
a1.sources.r1.filegroups.f2 = /fg2/dir?/file.*
a1.sources.r1.filegroups.f3 = /fg3/dir[78]/file.*
a1.sources.r1.filegroups.f4 = /fg4/dir{10,12}/file.*
a1.sources.r1.filegroups.f5 = /fg5/**/file.*


was (Author: wenqiao):
FLUME-2960_1.patch: Support wildcards in directory name. The following config 
is allowed:
a1.sources.r1.filegroups.f1 = /fg1/*/subdir/file.*
a1.sources.r1.filegroups.f2 = /fg2/dir?/file.*
a1.sources.r1.filegroups.f3 = /fg3/dir[78]/file.*
a1.sources.r1.filegroups.f4 = /fg4/dir{10,12}/file.*
a1.sources.r1.filegroups.f5 = /fg5/**/file.*"

> Support Wildcards in directory name in TaildirSource
> ----------------------------------------------------
>
>                 Key: FLUME-2960
>                 URL: https://issues.apache.org/jira/browse/FLUME-2960
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.7.0
>            Reporter: tinawenqiao
>            Assignee: tinawenqiao
>              Labels: wildcards
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2960_1.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> In our log management project, we wan't to track many log files like this:
> /app/dir1/log.*
>  /app/dir2/log.*
> ...
> /app/dirn/log.*
> But TaildirSource can't support wildcards in filegroup directory name. The 
> following config is expected:
> a1.sources.r1.filegroups.fg = /app/\*/log.*



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to