You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Denes Arvay (JIRA)" <ji...@apache.org> on 2016/07/18 09:39:20 UTC

[jira] [Commented] (FLUME-2955) Add file path to the header in TaildirSource

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

Denes Arvay commented on FLUME-2955:
------------------------------------

hi [~wenqiao], could you please create a review request for this issue on https://reviews.apache.org for us to be able to review? Thanks.

> 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
>
>   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)