[ https://issues.apache.org/jira/browse/FLUME-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Paliwal resolved FLUME-251. ---------------------------------- Resolution: Won't Fix Fix Version/s: v0.9.5 Won't fix. 0.X branch not maintained anymore > time filter for tail-dir > ------------------------ > > Key: FLUME-251 > URL: https://issues.apache.org/jira/browse/FLUME-251 > Project: Flume > Issue Type: New Feature > Affects Versions: v0.9.4 > Reporter: Anurag Phadke > Fix For: v0.9.5 > > > tailDir currently supports tail'ing all file names that match a regex for a > given directory. Adding time-stamp support to only tail files created after a > given time-period would be nice. > for eg: Archive folders get data that's added daily and also contain 'n' > months old data. There are instances where we only need files that are 'x' > days old (x << n) > sample tailDir call would look something like: > tailDir("<path>"[,fileregex="*.gz", createdAfter="2010-09-20"]); -- This message was sent by Atlassian JIRA (v6.3.4#6332)