[ https://issues.apache.org/jira/browse/FLUME-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tinawenqiao updated FLUME-2953: ------------------------------- Description: 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.\* was: 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.* > 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 > > 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)