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

Jean lagarutte commented on FLUME-2207:
---------------------------------------

hi
how can we configure the TimeBasedIndexNameBuilder  with your patch.
what is the propertie name and the format ?

regards

> HDFS file suffix style index suffix in ElasticSearchSink
> --------------------------------------------------------
>
>                 Key: FLUME-2207
>                 URL: https://issues.apache.org/jira/browse/FLUME-2207
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.5.0
>            Reporter: Dib Ghosh
>             Fix For: v1.6.0
>
>         Attachments: FLUME-2207-1.patch
>
>
> Currently ElasticSearchSink indexName is appended with "YYYY-MM-DD" to 
> generate actual ElasticSearch index name and allow index rolling on a daily 
> basis. This works well for simpler use cases but is restrictive imho. User 
> should be able to add indexSuffix as per their own use case and also keep the 
> indexSuffix empty if requirement demands.
> agent.sinks.essink.indexName = flume becomes flume-2013-10-10.
> It will be really useful to have HDFS Sink filepath style  indexSuffix naming 
> i.e. "YYYY" will roll the indexes yearly, "YYYY-MM" will create indices 
> monthly.



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

Reply via email to