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

ASF subversion and git services commented on FLUME-2955:
--------------------------------------------------------

Commit 1ca0765aae795a41a43e39324f5f1c8bae57b751 in flume's branch 
refs/heads/trunk from [~wenqiao]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=1ca0765 ]

FLUME-2955. Add file path to the header in TaildirSource

Allow for adding a file path to the header dynamically. This is
particularly useful when the filegroup path contains a regex expression.

(tinawenqiao via Mike Percy)


> Add file path to the header in TaildirSource
> --------------------------------------------
>
>                 Key: FLUME-2955
>                 URL: https://issues.apache.org/jira/browse/FLUME-2955
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.7.0
>            Reporter: tinawenqiao
>              Labels: file, path, taildirsource
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2955.patch, FLUME-2955_2.patch, 
> FLUME-2955_3.patch, FLUME-2955_4.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> After using TaildirSource to collect log data, I found that there is no file 
> path in the flume event. 
> Though TaildirSource supports add customed header value like this : 
> a1.sources.r1.headers.f1.headerKey1 = value1, 
> we can't add file path to the header when the filegroup path contains regex 
> expression.File path is necessary to locate the log data.



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

Reply via email to