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 <[email protected]>
wrote:

> 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.
>
> https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html
>
> Thanks,
> Koji
>
> On Tue, May 22, 2018 at 3:41 PM, Bobby <[email protected]> wrote:
> > Siva,
> >
> > In my putElastic processor i only state below properties:
> >
> > <
> http://apache-nifi-developer-list.39713.n7.nabble.com/file/t921/2018-05-22_13_36_48-NiFi.png
> >
> >
> > 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 index per
> > day. My team also said, he didn't create index first, the processor take
> > care of it.
> >
> > Thanks
> >
> >
> >
> > -----
> >
> > -----------------
> > Bobby
> > --
> > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
>

Reply via email to