flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Percy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLUME-2955) Add file path to the header in TaildirSource
Date Wed, 20 Jul 2016 18:20:20 GMT

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

Mike Percy commented on FLUME-2955:
-----------------------------------

+1. I am about to commit this.

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

Mime
View raw message