You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Satoshi Iijima (JIRA)" <ji...@apache.org> on 2014/04/15 18:40:16 UTC

[jira] [Updated] (FLUME-2273) ElasticSearchSink: Add handling for header substitution in indexName

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

Satoshi Iijima updated FLUME-2273:
----------------------------------

    Attachment: new_FLUME-2273-2.patch

new-FLUME-2273.patch has conflict with FLUME-2225 that already have been committed.
I attached a new patch with testcase and doc. In this patch, header substituion of not only indexName but also indexType is supported.


> ElasticSearchSink: Add handling for header substitution in indexName
> --------------------------------------------------------------------
>
>                 Key: FLUME-2273
>                 URL: https://issues.apache.org/jira/browse/FLUME-2273
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.4.0
>            Reporter: Paul Merry
>            Priority: Minor
>         Attachments: FLUME-2273.patch, new_FLUME-2273-2.patch, new_FLUME-2273.patch
>
>
> The ElasticSearchSink would be improved by allowing for header substitution in the indexName property.
> A use case is where the sink is an intermediate part of a chain and the index name is required to identify the message origin, at present it can only be a hardcoded value.
> The HDFS sink already supports header substitution so a similar format would maintain consistency. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)