flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhengcanbin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLUME-2902) Add field projecting interceptor
Date Thu, 01 Sep 2016 06:16:20 GMT

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

zhengcanbin commented on FLUME-2902:
------------------------------------

what do you me, Grant Henke. Is this feature accpeted and patch was provided by others?

> Add field projecting interceptor
> --------------------------------
>
>                 Key: FLUME-2902
>                 URL: https://issues.apache.org/jira/browse/FLUME-2902
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>            Reporter: zhengcanbin
>            Priority: Critical
>              Labels: interceptors
>         Attachments: FLUME-2902.patch
>
>   Original Estimate: 0.05h
>  Remaining Estimate: 0.05h
>
> Main functionalities are as below:
>     1. filter out specified fields from the raw input
>     2. reorder these selected fields
>     3. change field separator
>     4. trim field
> Use case:
>  *   agent.sources.r1.type = SEQ
>  *   agent.sources.r1.interceptors = i1
>  *   agent.sources.r1.interceptors.i1.type = org.apache.flume.interceptor.FieldProjectInterceptor
>  *   agent.sources.r1.interceptors.i1.charset = UTF-8
>  *   agent.sources.r1.interceptors.i1.inputSeparator = |
>  *   agent.sources.r1.interceptors.i1.outputSeparator = ,
>  *   agent.sources.r1.interceptors.i1.outputFields = 3 5 2



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

Mime
View raw message