You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Lior Zeno (JIRA)" <ji...@apache.org> on 2016/06/11 14:34:21 UTC

[jira] [Commented] (FLUME-2494) ElasticSearchSink: Allow the ttl to be set from the header.

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

Lior Zeno commented on FLUME-2494:
----------------------------------

The _ttl field is deprecated since Elasticsearch 2.0 (https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-ttl-field.html), I think we should remove it from the configuration and follow the suggestion of time-based rolling indices instead. 

> ElasticSearchSink: Allow the ttl to be set from the header.
> -----------------------------------------------------------
>
>                 Key: FLUME-2494
>                 URL: https://issues.apache.org/jira/browse/FLUME-2494
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>            Reporter: Susie Murphy
>            Priority: Minor
>
> Currently the ttl of documents is set based on the ttl field in the config file. It would be good if the ttl could be set by a field in the document's header.
> This would allow for more flexibility, making it easier if you want different ttls for different documents.



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