Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> Re: [jira] [Assigned] (FLUME-2206) ElasticSearchSink ttl field modification to mimic Elasticsearch way of specifying TTL


Copy link to this message
-
Re: [jira] [Assigned] (FLUME-2206) ElasticSearchSink ttl field modification to mimic Elasticsearch way of specifying TTL
Thank you Hari.

- Dib
On Wed, Oct 9, 2013 at 12:54 PM, Hari Shreedharan (JIRA) <[EMAIL PROTECTED]>wrote:

>
>      [
> https://issues.apache.org/jira/browse/FLUME-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Hari Shreedharan reassigned FLUME-2206:
> ---------------------------------------
>
>     Assignee: Dib Ghosh
>
> > ElasticSearchSink ttl field modification to mimic Elasticsearch way of
> specifying TTL
> >
> -------------------------------------------------------------------------------------
> >
> >                 Key: FLUME-2206
> >                 URL: https://issues.apache.org/jira/browse/FLUME-2206
> >             Project: Flume
> >          Issue Type: Improvement
> >          Components: Sinks+Sources
> >    Affects Versions: v1.5.0
> >            Reporter: Dib Ghosh
> >            Assignee: Dib Ghosh
> >            Priority: Minor
> >
> > According to current ElasticSearch documentation of TTL:
> > "In case you do not specify a time unit like d (days), m (minutes), h
> (hours), ms (milliseconds) or w (weeks), milliseconds is used as default
> unit.
> > If no default is set and no _ttl value is given then the document has an
> infinite _ttl and will not expire."
> > Current flume ElasticSearchSink index TTL configuration:
> > agent.sinks.myESsink.ttl = <some integer value> and defaults to 5 days.
> > It will be good to have a qualifier like "d" / "s" / "m" / "w" / "h" to
> mimic the TTL configuration in ElasticSearch mapping.
> > When user specifies agent.sinks.myESsink.ttl = "3w" index TTL should be
> set to 3 weeks while agent.sinks.myESsink.ttl = 3 will set the TTL to 3
> days.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.1#6144)
>