[ 
https://issues.apache.org/jira/browse/FLUME-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhengcanbin updated FLUME-2902:
-------------------------------
    Description: 
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



  was:
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




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

Reply via email to