Re: Put data to Elastic with static settings or index template

2018-05-24 Thread Bobby
Yep, i used index template and it worked well...If my calculation is right, the size decreased about 12 - 18%..huge gain!!! Consider this issue solved.. Thank you everyone - - Bobby -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Put data to Elastic with static settings or index template

2018-05-22 Thread Mike Thomsen
Bobby, You need to use ElasticSearch templates for this. https://www.elastic.co/guide/en/elasticsearch/reference/5.4/indices-templates.html That's the official Elastic-sanctioned way of doing this. On Tue, May 22, 2018 at 4:23 AM Koji Kawamura wrote: > Hi Bobby, > >

Re: Put data to Elastic with static settings or index template

2018-05-22 Thread Koji Kawamura
Hi Bobby, Elasticsearch creates index if it doesn't exist. I haven't tried it myself yet, but Elasticsearch's Index template might be useful to tweak default settings for indices those are created automatically.

Re: Put data to Elastic with static settings or index template

2018-05-22 Thread Bobby
Siva, In my putElastic processor i only state below properties: Given the index name is using expression language, i assume it will be created if it is not exist; In my example, i tend to create new

Re: Put data to Elastic with static settings or index template

2018-05-22 Thread Sivaprasanna
Bobby, If I'm correct, this setting is done during index creation and the PutElasticsearch processors doesn't create index. It primarily works with the assumption that the configured index already exists (people correct me, if I'm wrong). If that's the case, there is no need to do anything on the

Put data to Elastic with static settings or index template

2018-05-21 Thread Bobby
Hi, when inserting data to elastic using nifi's processor (putElastic), i need to apply static setting for the index..like mentioned in https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html