flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tinawenqiao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLUME-2953) Make TaildirSource work with recursive directory
Date Tue, 12 Jul 2016 14:23:20 GMT

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

tinawenqiao commented on FLUME-2953:
------------------------------------

Hi, Attila. The patch works on branch flume-1.7, not on trunk branch.

> Make TaildirSource work with recursive directory
> ------------------------------------------------
>
>                 Key: FLUME-2953
>                 URL: https://issues.apache.org/jira/browse/FLUME-2953
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.7.0
>            Reporter: tinawenqiao
>              Labels: Recuresive, TaildirSource, Wildcards
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2953.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> In TaildirSource filegroupName, regular expression can be used for filename only. Sample
usage is : a1.sources.r1.filegroups.f2 = /var/log/test2/.\*log.\*
> If there are many files to be tracked in the same directory, the configuration is oft-repeated.
So it‘s necessary that wildcards are supported in the directory path. Then the user can
configure the filegroupName like this:
>  a1.sources.r1.filegroups.f2 = /var/log/\*/.\*log.\*



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

Mime
View raw message