You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "zhengcanbin (JIRA)" <ji...@apache.org> on 2016/09/01 06:16:20 UTC
[jira] [Commented] (FLUME-2902) Add field projecting interceptor
[ 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)